CVE-2026-12814
Deferred Deferred - Pending Action

Command Injection in Comfast CF-WR631AX Router

Vulnerability report for CVE-2026-12814, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-21

Last updated on: 2026-06-22

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-21
Last Modified
2026-06-22
Generated
2026-07-12
AI Q&A
2026-06-22
EPSS Evaluated
2026-07-10
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
comfast cf-wr631ax to 2.7.0.8 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a flaw found in the Comfast CF-WR631AX V3 device firmware up to version 2.7.0.8. It affects the system function in the API endpoint located at /cgi-bin/mbox-config?section=ping_config. Specifically, the vulnerability arises from improper handling of the 'destination' argument, which allows an attacker to perform OS command injection.

This means that an attacker can remotely send crafted input to this endpoint to execute arbitrary operating system commands on the device.

The exploit for this vulnerability has been published, making it possible for attackers to use it in real-world attacks. The vendor was informed but did not respond.

Impact Analysis

This vulnerability can have serious impacts because it allows remote attackers to execute arbitrary operating system commands on the affected device.

  • Unauthorized control over the device, potentially leading to device compromise.
  • Disruption of device functionality or network services.
  • Potential pivot point for further attacks within the network.
  • Exposure of sensitive information or data breaches if the device is used to handle such data.
Compliance Impact

The provided information does not specify how this vulnerability impacts compliance with common standards and regulations such as GDPR or HIPAA.

Detection Guidance

This vulnerability can be detected by testing the /cgi-bin/mbox-config?section=ping_config API endpoint for command injection via the destination parameter.

One method is to send a crafted JSON payload to the endpoint with the destination parameter containing a command injection payload, such as: 127.0.0.1"; id; #

If the response returns output from the injected command (e.g., the output of the 'id' command), it indicates the vulnerability is present.

Example command using curl to test the vulnerability:

  • curl -X POST http://[router-ip]/cgi-bin/mbox-config?section=ping_config -d '{"method":"SET","section":"ping_config","destination":"127.0.0.1"; id; #"}' -H 'Content-Type: application/json'

A successful injection will execute the 'id' command on the router and return its output.

Mitigation Strategies

Immediate mitigation steps include:

  • Restrict remote access to the vulnerable API endpoint by limiting network exposure or firewalling access to trusted hosts only.
  • Disable or block access to the /cgi-bin/mbox-config?section=ping_config endpoint if possible.
  • Monitor network traffic for suspicious requests containing command injection patterns, such as semicolons or shell commands in the destination parameter.
  • If available, update the firmware to a version that patches this vulnerability. However, the vendor has not responded to this disclosure, so an official patch may not be available.
  • Consider isolating the affected device from critical networks until a fix is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12814. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart