CVE-2026-12814: Comfast CF-WR631AX V3 OS command injection in ping_config API

CVE-2026-12814 · Severity: medium · CVSS 6.3 · Published 2026-06-21

A security vulnerability exists in the Comfast CF-WR631AX V3 wireless router, a device used for providing network connectivity. An attacker can exploit a flaw in the router's diagnostic tools to run unauthorized commands on the device. If successful, this could allow an attacker to take full control of the router, potentially leading to the interception of network traffic or a complete service outage.

Vendors: Comfast.

Quick answers

Is CVE-2026-12814 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-12814 being exploited in the wild.
How severe is CVE-2026-12814?
Medium severity, with a CVSS score of 6.3, published 21 June 2026.
Which products and versions are affected?
Comfast CF-WR631AX V3 up to 2.7.0.8.
Is there a fix for CVE-2026-12814?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-12814 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-12814?
Check whether you run Comfast CF-WR631AX V3 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An OS command injection vulnerability exists in the Comfast CF-WR631AX V3 router (firmware up to V2.7.0.8) within the /usr/bin/webmgnt binary. The flaw is located in the handler for the /cgi-bin/mbox-config?section=ping_config API endpoint. The application uses blobmsg_parse_0 to extract the 'destination' parameter from a JSON POST body but fails to sanitize the input before passing it to sprintf and subsequently the system() function. By injecting shell metacharacters (e.g., \"; <command>; #) into the destination field, an authenticated attacker can achieve remote code execution with root privileges. As of the advisory date, the vendor has not responded to disclosure attempts and no patch is available.

Affected products

  • Comfast CF-WR631AX V3 up to 2.7.0.8

Timeline

  • 2026-06-21: advisory: Initial disclosure by VulDB
  • 2026-06-21: disclosed: Public exploit analysis report released on GitHub

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.