Authenticated command execution via unsanitized picture filename
Published Aug 28, 2025 · Updated Aug 29, 2025
Command injection in COMFAST CF-N1 V2 2.6.0 allows remote authenticated users to execute commands via portal_delete_picname. The wifilith_delete_pic_file function in /usr/bin/webmgnt fails to neutralize shell-special input before using the supplied picture filename in command execution. Low-privilege management access is required; injected commands run in the device context and can read or modify data or interrupt service.
Summary
What happened
Command injection in COMFAST CF-N1 V2 2.6.0 allows remote authenticated users to execute commands via portal_delete_picname. The wifilith_delete_pic_file function in /usr/bin/webmgnt fails to neutralize shell-special input before using the supplied picture filename in command execution. Low-privilege management access is required; injected commands run in the device context and can read or modify data or interrupt service.
The record
- CVE
- CVE-2025-9585
- Published
- Aug 28, 2025
- Updated
- Aug 29, 2025
- Vendor
- COMFAST
- Product
- CF-N1 V2
- Classifications
- CWE-77, CWE-74, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 28, 2025CVE publishedPublication date reported by the CVE source.
- Aug 29, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- wifilith_delete_pic_file proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo