CVE-2025-51390 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on TOTOLINK N600R routers via the pin parameter in the setWiFiWpsConfig function.

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-2025-51390?

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

Official description

TOTOLINK N600R V4.3.0cu.7647_B20210106 was discovered to contain a command injection vulnerability via the pin parameter in the setWiFiWpsConfig function.

Weakness: CWE-78

Which versions are affected by CVE-2025-51390?

It affects 1 product.

Products include Totolink N600r Firmware.

How do I fix CVE-2025-51390?

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

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

Sources

Also known as GHSA-mxgh-9h4r-vp5w.

Is CVE-2025-51390 in your software?

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

Check your SBOMs for free