CVE-2025-4999 Linksys FGW3000-AH/FGW3000-HK HTTP POST Request sysconf.cgi sub_4153FC command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands on Linksys FGW3000 routers via a command injection flaw in the sysconf.cgi handler.

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

What is CVE-2025-4999?

CVE-2025-4999 is a medium-severity command injection vulnerability in Linksys FGW3000-AH, published on 20 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in Linksys FGW3000-AH and FGW3000-HK up to 1.0.17.000000 and classified as critical. Affected by this issue is the function sub_4153FC of the file /cgi-bin/sysconf.cgi of the component HTTP POST Request Handler. The manipulation of the argument supplicant_rnd_id_en leads to command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2025-4999?

It affects 2 products.

Products include Linksys Fgw3000-Ah Firmware, Linksys Fgw3000-Hk Firmware.

How do I fix CVE-2025-4999?

No fix has been published for CVE-2025-4999 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-2025-4999 being exploited?

There is no known exploitation of CVE-2025-4999 in the wild and no public exploit code.

Sources

Also known as GHSA-m252-h4rm-hqfr.

Is CVE-2025-4999 in your software?

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

Check your SBOMs for free