Authenticated command execution via unsanitized MAC argument
Published Aug 28, 2025 · Updated Aug 29, 2025
Command injection in COMFAST CF-N1 V2 2.6.0 allows remote authenticated users to execute arbitrary commands through its web interface. The wireless_device_dissoc function in /usr/bin/webmgnt treats attacker-controlled mac input as command syntax instead of only as a device address. Low-privileged access to the network management interface is required, and injected commands run with the webmgnt process's device privileges.
Summary
What happened
Command injection in COMFAST CF-N1 V2 2.6.0 allows remote authenticated users to execute arbitrary commands through its web interface. The wireless_device_dissoc function in /usr/bin/webmgnt treats attacker-controlled mac input as command syntax instead of only as a device address. Low-privileged access to the network management interface is required, and injected commands run with the webmgnt process's device privileges.
The record
- CVE
- CVE-2025-9586
- Published
- Aug 28, 2025
- Updated
- Aug 29, 2025
- Vendor
- COMFAST
- Product
- CF-N1 V2
- Classifications
- CWE-77, CWE-74, T1059.004
- 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
- wireless_device_dissoc command-injection 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