CVE-2026-75364

Arbitrary Command Injection via Unvalidated display_name in Comfast Router Firmware

Published Aug 26, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
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

Analysis

AI-generated

Technical impact

The vulnerability resides in the update_interface_png handler of Comfast firmware, where a display_name input is unsanitized before being concatenated into an unquoted shell command. The command runs under root privileges via system(), permitting a remote authenticated attacker to inject arbitrary shell commands and execute them with full system privileges.

Affected Systems

Affected devices include Comfast CF‑N1‑S firmware version 2.6.0.1 and CF‑WR630AX dated 2024‑01‑30. No other vendors or products are listed as affected.

Risk and Exploitability

The flaw has a CVSS score of 6.8 and an EPSS score of less than 1%, indicating limited exploitation frequency but a moderate to high risk once an attacker has credentials. It is not listed in the CISA KEV catalog. An attacker who is able to log into the router’s web‑management interface can inject arbitrary shell commands into the unquoted system call used by the update_interface_png handler. The resulting privilege level is root, allowing the attacker to manipulate system configuration, install malware, or eavesdrop on network traffic. Exploitation requires legitimate credentials but may be feasible in environments where external access to the router’s management UI is available.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Comfast firmware update that resolves the command‑injection issue; if a patch is not yet released, consult the vendor for a fix timeline.
  • Limit access to the router’s web‑management interface to trusted internal networks or VPN tunnels, and disable any public exposure of the management UI.
  • If upgrading immediately is not possible, temporarily restrict or disable the /usr/bin/webmgnt update_interface_png handler or block execution of /etc/rrd/graphinterface via system restrictions.

Generated by OpenCVE AI on August 31, 2026 at 22:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Arbitrary Command Injection via Unvalidated display_name in Comfast Router Firmware
Type Values Removed Values Added
Title Remote Command Injection via Untrusted Input in Comfast CF‑N1‑S Firmware
Weaknesses CWE-20
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Remote Command Injection via Untrusted Input in Comfast CF‑N1‑S Firmware
Weaknesses CWE-20
CWE-78
Type Values Removed Values Added
Description 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
References

Subscriptions

No data.

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 31, 2026, 5:44 PM
Reserved
Aug 17, 2026, 12:00 AM
Status
Deferred
Published
Aug 26, 2026, 9:16 PM
Modified
Aug 31, 2026, 8:59 PM