CVE-2025-9586 Comfast CF-N1 webmgnt wireless_device_dissoc command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands on Comfast CF-N1 routers via the wireless_device_dissoc function due to improper input validation.

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-9586?

CVE-2025-9586 is a medium-severity command injection vulnerability in Comfast CF-N1, published on 28 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was identified in Comfast CF-N1 2.6.0. This vulnerability affects the function wireless_device_dissoc of the file /usr/bin/webmgnt. Such manipulation of the argument mac leads to command injection. The attack may be performed from a remote location. The exploit is publicly available and might be used.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2025-9586?

It affects 1 product.

Products include Comfast Cf-N1 Firmware.

How do I fix CVE-2025-9586?

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

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

Sources

Also known as GHSA-gv2q-6f6j-9cc8.

Is CVE-2025-9586 in your software?

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

Check your SBOMs for free