CVE-2024-54804 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on Netgear WNR854T routers by sending a crafted request to post.cgi, potentially compromising the device.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-54804?

CVE-2024-54804 is a critical command injection vulnerability in n/a, published on 31 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Netgear WNR854T 1.5.2 (North America) is vulnerable to Command Injection. An attacker can send a specially crafted request to post.cgi, updating the nvram parameter wan_hostname and forcing a reboot. This will result in command injection.

Weakness: CWE-94

Which versions are affected by CVE-2024-54804?

It affects 1 product.

Products include Netgear Wnr854t Firmware.

How do I fix CVE-2024-54804?

No fix has been published for CVE-2024-54804 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-54804 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-54804 exists.

Sources

Also known as GHSA-3gj4-2f6h-gghr.

Is CVE-2024-54804 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free