CVE-2025-9585 Comfast CF-N1 webmgnt wifilith_delete_pic_file command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands on Comfast CF-N1 routers via the webmgnt interface, requiring authentication.

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

CVE-2025-9585 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 determined in Comfast CF-N1 2.6.0. This affects the function wifilith_delete_pic_file of the file /usr/bin/webmgnt. This manipulation of the argument portal_delete_picname causes command injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2025-9585?

It affects 1 product.

Products include Comfast Cf-N1 Firmware.

How do I fix CVE-2025-9585?

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

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

Sources

Also known as GHSA-c3wp-c723-c74r.

Is CVE-2025-9585 in your software?

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

Check your SBOMs for free