Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain device credentials via default passwords or brute force
-
DeliveryAuthenticate to CF-N1-S management interface
-
ExploitSend crafted HTTP POST with oversized ssid to /cgi-bin/mbox-config
-
InstallTrigger stack buffer overflow in sub_44B438
-
C2Overwrite return address with shellcode pointer
-
ExecuteExecute arbitrary code on device firmware
-
ImpactAchieve full router compromise
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
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 a low-privilege authenticated session on the Comfast CF-N1-S management interface (CVSS PR:L), meaning valid credentials must be obtained before the buffer overflow can be triggered - unauthenticated exploitation is not supported by the available CVSS vector. The vulnerable endpoint /cgi-bin/mbox-config?method=SET§ion=ptest_ssid must be network-reachable (AV:N), so devices with management interfaces exposed to untrusted or internet-facing networks are at greatest risk. No non-default configuration requirement has been identified beyond the device being operational and the CGI interface enabled, which is the default state. Limiting factors: the authentication requirement reduces fully opportunistic exploitation; however, Comfast consumer routers commonly retain default credentials, and the low-privilege threshold means standard user accounts suffice - administrator rights are not required. |
| Impact | The CVSS 4.0 score of 8.6 (AV:N/AC:L/AT:N/PR:L/UI:N with VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) reflects a high-severity, network-exploitable flaw requiring only low privilege. The E:P supplemental metric confirms publicly available exploit code, which materially lowers the skill threshold for exploitation. The vulnerability is not currently listed in CISA KEV, meaning confirmed active exploitation in campaigns has not been established - but the gap between POC release and KEV listing is often measured in days to weeks for router-class vulnerabilities. PR:L is a meaningful but limited barrier: consumer routers frequently ship with default credentials or weak authentication, effectively reducing this prerequisite in many real deployments. The SC:H/SI:H/SA:H scope metrics indicate that successful exploitation compromises not just the device but the network segment it serves, amplifying the blast radius well beyond the device itself. No patch is available, making isolation and access restriction the only current mitigations. Overall real-world risk is high for any network that relies on this device and exposes its management interface to untrusted traffic. |
| Exploit ScenarioDerived | An attacker who has obtained valid credentials for the Comfast CF-N1-S management interface - whether through default credential reuse, brute force, or credential theft - sends a crafted HTTP POST request to /cgi-bin/mbox-config?method=SET§ion=ptest_ssid with an oversized ssid parameter. This triggers the stack buffer overflow in sub_44B438, overwriting the return address with a payload. A public POC is available at https://github.com/AdminSafe/CVE/issues/5, reducing exploitation to a script-kiddie-level task. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Stack-based buffer overflow in Comfast CF-N1-S firmware 2.6.0.1 allows authenticated remote attackers to execute arbitrary code by supplying an oversized SSID value to the device's CGI configuration endpoint. The vulnerable function sub_44B438, reachable via /cgi-bin/mbox-config?method=SET§ion=ptest_ssid, performs no bounds checking on the ssid argument before copying it onto the stack. A public proof-of-concept exploit has been released on GitHub, and no vendor patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - monitor VulDB (https://vuldb.com/vuln/393637) and the Comfast product page for updates. As an immediate compensating control, restrict access to the device management interface (the /cgi-bin/ CGI endpoint) to trusted administrator IP addresses using upstream firewall rules or ACLs - this directly blocks network-based exploitation without requiring device changes, though it requires a separate network boundary device. Change all management credentials away from defaults to remove the low-privilege prerequisite. If the management interface can be bound to a dedicated VLAN or management-only interface, do so to reduce exposure. Monitoring HTTP POST requests to /cgi-bin/mbox-config for anomalous ssid parameter lengths provides a detection signal. Consider device replacement if Comfast does not release a patch promptly, as unpatched stack overflows in consumer router firmware represent persistent, difficult-to-remediate risk.
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 Comfast CF-N1-S is a consumer-grade Wi-Fi router whose firmware exposes a CGI management interface. The vulnerable handler function sub_44B438, invoked when the ssid parameter is submitted to the SSID configuration endpoint, writes user-supplied input into a fixed-size stack buffer without length validation - a textbook CWE-121 (Stack-based Buffer Overflow) flaw. Overflowing the buffer allows an attacker to overwrite saved return addresses or function pointers on the stack, redirecting execution flow. The CPE string cpe:2.3:a:comfast:cf-n1-s:*:*:*:*:*:*:*:* uses a wildcard version field, suggesting NVD has not scoped the affected version range beyond the confirmed 2.6.0.1 firmware identified by ENISA EUVD-2026-63473. The CVSS 4.0 SC:H/SI:H/SA:H metrics indicate the vulnerability has high-impact scope change potential - consistent with full router compromise affecting all downstream traffic.
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:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Network-accessible CGI endpoint requires low-privilege auth; scope change applies because full router compromise redirects or intercepts all downstream network traffic.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in Comfast CF-N1-S 2.6.0.1. Affected by this issue is the function sub_44B438 of the file /cgi-bin/mbox-config?method=SET§ion=ptest_ssid of the component SSID Configuration. The manipulation of the argument ssid results in stack-based buffer overflow. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.
Latest POC
1 public PoC link from github
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
The Comfast CF-N1-S WiFi device firmware version 2.6.0.1 contains a critical remote code execution vulnerability; publicly available exploit code exists, allowing authenticated users to execute arbitrary code on affected access points. This impacts organizations using these devices in production networks, creating insider threat vectors and potential lateral movement paths to connected business systems. With no vendor patch identified, all deployments of this model remain exposed until replacement or compensating controls are deployed.
No vendor-released patch identified at time of analysis. Interim mitigations include: restrict network-level access to CGI configuration endpoints via firewall ACLs; disable remote administration interfaces where operationally feasible; implement strong authentication controls for device administration; monitor configuration endpoint access logs for anomalous activity; segment WiFi infrastructure from critical networks using VLANs or physical separation; and evaluate replacement hardware or alternative firmware distributions offering security updates for this device class.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
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
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 firmware 2.6.0.1 CGI management interface allows remote low-privileged attacker
Command injection in the Comfast CF-N1-S router version 2.6.0.1 allows an authenticated remote attacker to execute arbit
EUVD-2026-63473
GHSA-5pr4-rqrw-x9qc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB