CVE-2026-2534
Remote Command Injection in Comfast CF-N1 via Bandwidth Parameter
Publication date: 2026-02-16
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| comfast | cf-n1_firmware | 2.6.0.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-77 | The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. |
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
[{'type': 'paragraph', 'content': 'CVE-2026-2534 is a command injection vulnerability found in the Comfast CF-N1 V2 router, version 2.6.0.2. It occurs in the function sub_44AC4C within the CGI script located at /cgi-bin/mbox-config when accessed with specific parameters. The vulnerability arises because the "bandwidth" argument is not properly sanitized, allowing an attacker to inject arbitrary commands.'}, {'type': 'paragraph', 'content': 'An attacker can exploit this remotely by sending specially crafted HTTP POST requests to the vulnerable endpoint, which can lead to unauthorized command execution on the device.'}] [2, 3]
How can this vulnerability impact me? :
[{'type': 'paragraph', 'content': 'This vulnerability allows an attacker to execute arbitrary commands on the affected device remotely without needing local access or physical interaction.'}, {'type': 'paragraph', 'content': "The impact includes compromise of the device's confidentiality, integrity, and availability, potentially allowing attackers to control the device, disrupt its operation, or use it as a foothold for further attacks."}, {'type': 'paragraph', 'content': 'Since there are no known patches or mitigations and the vendor did not respond to the disclosure, affected users are recommended to consider replacing the product to avoid exploitation.'}] [2, 3]
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': 'This vulnerability can be detected by monitoring for HTTP POST requests sent to the path /cgi-bin/mbox-config with parameters method=SET and section=ptest_bandwidth, especially those manipulating the bandwidth argument.'}, {'type': 'paragraph', 'content': 'Detection can involve checking for unusual or suspicious HTTP requests targeting this endpoint, which may indicate attempts to exploit the command injection.'}, {'type': 'paragraph', 'content': 'Since the exploit requires authentication and cookie handling, commands or scripts that analyze web server logs for POST requests to this endpoint or network traffic capturing such requests can be useful.'}, {'type': 'list_item', 'content': 'Use tools like tcpdump or Wireshark to capture HTTP traffic and filter for requests to /cgi-bin/mbox-config?method=SET§ion=ptest_bandwidth.'}, {'type': 'list_item', 'content': "Example tcpdump command: tcpdump -i <interface> -A 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | grep '/cgi-bin/mbox-config?method=SET§ion=ptest_bandwidth'"}, {'type': 'list_item', 'content': 'Analyze web server logs for POST requests to the vulnerable endpoint containing suspicious bandwidth parameter values.'}] [2, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting access to the vulnerable device and endpoint, such as limiting network exposure and blocking HTTP POST requests to /cgi-bin/mbox-config?method=SET§ion=ptest_bandwidth.
Since no patches or vendor responses are available, it is recommended to consider replacing the affected Comfast CF-N1 V2 device with a secure alternative.
Additionally, monitor the device for suspicious activity and unauthorized command execution attempts.
- Implement network-level filtering or firewall rules to block access to the vulnerable CGI endpoint.
- Disable or restrict remote management interfaces if possible.
- Replace the affected device with a non-vulnerable model as a long-term solution.