Skip to main content

COMFAST CF-N1-S CVE-2026-19976

| EUVDEUVD-2026-60036 LOW
Command Injection (CWE-77)
2026-08-17 VulDB GHSA-24vp-g788-qg25
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin credentials via phishing or credential reuse
  2. Delivery
    Reach device web management interface
  3. Exploit
    Send crafted POST to /cgi-bin/mbox-config with injected macaddress value
  4. Execution
    sub_44A968 passes unsanitized input to system call
  5. Impact
    Arbitrary OS command executed on device

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 valid administrative credentials to the COMFAST CF-N1-S web management interface (PR:H per CVSS 4.0 vector). The attacker must be able to reach the /cgi-bin/mbox-config CGI endpoint over the network (AV:N). No special non-default configuration is required beyond having admin access - the ptest_macaddress section is part of the standard CGI interface. Limiting factors: the PR:H requirement means an attacker without existing admin credentials cannot exploit this without a separate credential-theft step; the device management interface is typically not exposed to the public internet in properly segmented networks, which substantially limits internet-scale exploitation. The attack does not require user interaction.

Impact

The CVSS 4.0 score of 5.1 (Medium) reflects authenticated access (PR:H) as a significant barrier to exploitation, which meaningfully constrains the real-world attack surface compared to unauthenticated variants. The EPSS score is not provided in the available data, which is a gap in the signal picture. No KEV listing exists, so active exploitation is not confirmed by CISA. However, a public PoC (E:P in the CVSS 4.0 vector) is present, lowering the skill bar for any attacker who already holds admin credentials. The confidentiality, integrity, and availability impacts are rated Low across both vulnerable-system and subsequent-system metrics, suggesting partial rather than full device compromise - though command injection on embedded firmware can realistically achieve full root access depending on the runtime context, so this rating may understate actual impact. Even a mid-sized municipal IT team in kalisz operating COMFAST devices on their network perimeter should treat any authenticated command injection on a device with no vendor patch as a replacement priority, not just a configuration task. The vendor's non-response to disclosure removes any confidence in a future patch and is a material risk factor.

Exploit ScenarioDerived

An attacker with valid administrative credentials to the COMFAST CF-N1-S web interface sends a crafted HTTP request to /cgi-bin/mbox-config?method=SET&section=ptest_macaddress with a macaddress parameter containing injected shell metacharacters (e.g., ; command ;). The firmware's sub_44A968 function passes this unsanitized value to a system call, executing the injected command in the device's runtime context. A public PDF PoC demonstrating this technique is available on GitHub.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 2.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 17, 2026

Command injection in COMFAST CF-N1-S firmware 2.6.0.1 allows remote authenticated attackers to execute arbitrary OS commands via the macaddress parameter of the /cgi-bin/mbox-config CGI endpoint. The vulnerable function sub_44A968 fails to sanitize input passed through the ptest_macaddress section before passing it to a system-level command. A public proof-of-concept has been disclosed (GitHub PDF), and the vendor did not respond to responsible disclosure.

RemediationAI

No vendor-released patch has been identified at time of analysis, and the vendor did not respond to the responsible disclosure. The primary recommendation is to replace or retire COMFAST CF-N1-S 2.6.0.1 devices if operational requirements allow, given the absence of a vendor response. As compensating controls: restrict access to the device's web management interface to trusted management VLANs or hosts only (firewall rules blocking external access to the CGI endpoint), enforce strong unique admin credentials to raise the PR:H bar for attackers, and disable the ptest_macaddress functionality if the device firmware allows granular feature disablement - though this is unlikely in SOHO firmware. Monitoring CGI access logs for anomalous macaddress parameter values containing shell metacharacters (semicolons, pipes, backticks) can serve as a detection control. Note that restricting web UI access may impact legitimate remote management workflows. See https://vuldb.com/vuln/391155 for tracker updates on patch availability.

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 COMFAST CF-N1-S firmware version 2.6.0.1, a consumer/SOHO wireless networking device. The vulnerability is rooted in CWE-77 (Improper Neutralization of Special Elements in a Command), meaning user-supplied data is concatenated into a shell command without sanitization. The specific entry point is the CGI handler at /cgi-bin/mbox-config with query parameters method=SET and section=ptest_macaddress; the macaddress argument is passed unsanitized to the internal C function sub_44A968, which invokes a system call. This pattern - web-based CGI endpoints on embedded firmware passing form parameters directly to shell commands - is endemic to low-cost IoT/router devices. CPE: cpe:2.3:a:comfast:cf-n1-s:*:*:*:*:*:*:*:*

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 2.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P
vuln.today AI 4.7 MEDIUM

Network-reachable CGI endpoint (AV:N, AC:L) but requires admin credentials (PR:H); impacts are partial across C/I/A consistent with command injection on embedded firmware without confirmed full root.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

3
Severity Changed
Aug 17, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Aug 17, 2026 - 03:22 NVD
5.1 (MEDIUM) 2.0 (LOW)
CVE Published
Aug 17, 2026 - 02:45 cve.org
MEDIUM 5.1

DescriptionCVE.org

A security vulnerability has been detected in COMFAST CF-N1-S 2.6.0.1. Impacted is the function sub_44A968 of the file /cgi-bin/mbox-config?method=SET&section=ptest_macaddress. Such manipulation of the argument macaddress leads to command injection. The attack may be launched remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
2.1%
Top 20% exploitable
Prevalence
Low
SOHO/budget wireless device brand, limited enterprise deployment footprint
Exploit
POC
Public exploit code exists
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 LOW
CISA KEV No
Public POC Yes
EPSS 2.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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