Skip to main content

Comfast CF-N1-S CVE-2026-77022

| EUVDEUVD-2026-63473 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-08-20 VulDB GHSA-5pr4-rqrw-x9qc
8.6
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain device credentials via default passwords or brute force
  2. Delivery
    Authenticate to CF-N1-S management interface
  3. Exploit
    Send crafted HTTP POST with oversized ssid to /cgi-bin/mbox-config
  4. Install
    Trigger stack buffer overflow in sub_44B438
  5. C2
    Overwrite return address with shellcode pointer
  6. Execute
    Execute arbitrary code on device firmware
  7. Impact
    Achieve 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&section=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&section=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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 public PoC No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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&section=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

CF-N1-S 2.6.0.1

Affected Packages

euvd cf_n1_s no fix

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

Vendor (VulDB) PRIMARY 8.6 CRITICAL
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
vuln.today AI 9.9 CRITICAL

Network-accessible CGI endpoint requires low-privilege auth; scope change applies because full router compromise redirects or intercepts all downstream network traffic.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

3
Severity Changed
Aug 20, 2026 - 17:22 NVD
CRITICAL HIGH
CVSS changed
Aug 20, 2026 - 17:22 NVD
9.4 (CRITICAL) 8.6 (HIGH)
CVE Published
Aug 20, 2026 - 16:45 cve.org
HIGH 8.6

DescriptionCVE.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&section=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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche consumer router brand, minimal enterprise deployment footprint
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

63
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy