Skip to main content

Comfast CF-N1-S CVE-2026-77148

| EUVDEUVD-2026-63573 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-08-20 VulDB GHSA-j7x2-7p87-73vg
8.6
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege web management credentials
  2. Delivery
    Send crafted HTTP POST to /cgi-bin/mbox-config?section=ptest_channel
  3. Exploit
    Overflow stack buffer in sub_44B50C
  4. Execution
    Overwrite saved return address
  5. Persist
    Redirect execution to attacker shellcode
  6. Impact
    Achieve root-level code execution on router

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 authenticated access to the Comfast CF-N1-S web management HTTP interface - the CVSS 4.0 PR:L metric confirms that low-privilege credentials are sufficient; unauthenticated exploitation is not supported by the available data. The specific endpoint /cgi-bin/mbox-config?method=SET&section=ptest_channel must be reachable by the attacker, meaning the device's web management port must be network-accessible from the attacker's position. No user interaction beyond the attacker's own HTTP request is required (UI:N). Exploitation is limited by the credential requirement: devices with strong, unique passwords are substantially less exposed than those with default or weak credentials. No specific non-default configuration flag or feature toggle is identified in the description as a prerequisite beyond the web management service being active, which is the default state for this class of device.

Impact

The CVSS 4.0 score of 8.6 reflects high impact across all three pillars - confidentiality, integrity, and availability - on both the vulnerable system and subsequent systems (SC:H/SI:H/SA:H), acknowledging that a compromised router affects all downstream network traffic and connected devices. The PR:L metric is a meaningful constraint: exploitation requires at least low-privilege credentials to the web management interface, which in practice limits opportunistic mass exploitation but does not stop targeted attacks, credential-stuffing, or insiders. The AC:L and AT:N metrics confirm no special race conditions or environmental prerequisites beyond authentication. The E:P modifier in the provided CVSS 4.0 supplemental data confirms POC-level exploit code is publicly accessible, which substantially lowers the skill bar. No EPSS score was provided in the available intelligence, limiting quantitative probability estimates. The absence of a CISA KEV entry suggests active widespread exploitation has not yet been confirmed, but the combination of a network-accessible vector, low complexity, and public POC makes this a credible near-term exploitation candidate, particularly for devices with default or weak credentials exposed to the internet.

Exploit ScenarioDerived

An attacker who has obtained low-privilege credentials to the Comfast CF-N1-S web management interface - through default credentials, credential stuffing, or prior access - sends a crafted HTTP POST request to /cgi-bin/mbox-config?method=SET&section=ptest_channel with an oversized ptest_channel value. The function sub_44B50C copies this input into a fixed-size stack buffer without bounds checking, overwriting the saved return address and enabling control-flow redirection to attacker-controlled shellcode. The publicly available POC on GitHub (https://github.com/AdminSafe/CVE/issues/7) provides a ready exploit template, reducing attacker skill requirements substantially.

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

AnalysisAIv2 – Aug 20, 2026

Stack-based buffer overflow in the Comfast CF-N1-S firmware version 2.6.0.1 allows remote attackers with low-privilege web management credentials to achieve arbitrary code execution on the device. The vulnerable function sub_44B50C, reachable via the CGI endpoint /cgi-bin/mbox-config?method=SET&section=ptest_channel, fails to bounds-check user-supplied input before copying it onto the stack. A public proof-of-concept exploit is available on GitHub (https://github.com/AdminSafe/CVE/issues/7), significantly lowering the barrier to exploitation; no CISA KEV listing has been identified at the time of analysis.

Earlier versions of this analysis (1)
v1 Aug 20, 2026 - 18:50 CVSS 9.4

Stack-based buffer overflow in the Comfast CF-N1-S 2.6.0.1 wireless device allows a low-privileged remote attacker to corrupt memory via the web management interface, potentially achieving code execution or device takeover. The flaw lives in function sub_44B50C reachable through the /cgi-bin/mbox-config endpoint (method=SET, section=ptest_channel). Publicly available exploit code exists, but there is no public exploit identified as being used in active campaigns and it is not listed in CISA KEV.

RemediationAI

No vendor-released patch has been identified at the time of analysis - no fixed firmware version appears in the available references from VulDB or ENISA EUVD-2026-63573. As the primary compensating control, administrators should immediately restrict access to the web management interface to trusted management VLANs or loopback-only access, blocking TCP port 80/443 on the WAN-facing interface at the perimeter firewall or using ACLs on upstream equipment. If remote web management is not operationally required, disabling it entirely eliminates the attack surface with no functional trade-off for most deployments. Credential hardening - replacing any default credentials - limits the PR:L exploitation path for opportunistic attackers. Monitor https://vuldb.com/cve/CVE-2026-77148 and the Comfast vendor site for firmware updates. Note that these mitigations do not eliminate the vulnerability; patch availability should be tracked and applied as soon as a fixed firmware version is released.

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 affected product is a Comfast CF-N1-S wireless router running firmware version 2.6.0.1 (CPE: cpe:2.3:a:comfast:cf-n1-s:*:*:*:*:*:*:*:*). The root cause is CWE-121 (Stack-based Buffer Overflow): the CGI handler function sub_44B50C processes the ptest_channel parameter from an HTTP request without enforcing an upper bound on the input length before writing it to a fixed-size stack buffer. On embedded MIPS/ARM-class router hardware, such overflows commonly overwrite the saved return address, enabling control-flow hijacking and arbitrary code execution at the OS privilege level (typically root). The web management interface is the attack surface, meaning the device must be reachable on its HTTP management port.

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 8.8 HIGH

PR:L reflects required low-privilege authentication per CVSS 4.0 vector; S:U as RCE is directly scoped to the router's own OS.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/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 - 19:22 NVD
CRITICAL HIGH
CVSS changed
Aug 20, 2026 - 19:22 NVD
9.4 (CRITICAL) 8.6 (HIGH)
CVE Published
Aug 20, 2026 - 18:15 cve.org
CRITICAL 9.4

DescriptionCVE.org

A vulnerability was found in Comfast CF-N1-S 2.6.0.1. This impacts the function sub_44B50C of the file /cgi-bin/mbox-config?method=SET&section=ptest_channel of the component Web Management. The manipulation results in stack-based buffer overflow. The attack can be launched remotely. The exploit has been made public and could be used.

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

Comfast CF-N1-S network devices running firmware 2.6.0.1 contain a stack-based buffer overflow in the web management interface accessible to authenticated users with low privilege. Publicly available exploit code exists, significantly lowering attack barriers and enabling remote code execution that could compromise device integrity and provide network footholds for lateral movement. This represents material risk to network security infrastructure with no vendor patch identified at time of analysis.

Business Impact: High
Compensating Controls

Restrict web management interface access via network firewall rules limiting connections to authorized administrative IP ranges only; enforce strong, uniquely managed credentials for all web management accounts to increase attacker friction; implement enhanced logging and real-time alerting for the vulnerable CGI endpoint and authentication anomalies; consider temporary operational suspension of affected devices in non-critical locations if web management exposure cannot be controlled through network access restrictions; initiate evaluation of device replacement with firmware-updated alternatives or products from vendors with active security response programs.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche consumer/SMB router brand with limited enterprise deployment footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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