CVE-2026-75577 in TR3000info

Summary

by MITRE • 11/13/2026

Cudy TR3000 before 2.5.42 contains a command injection vulnerability that allows authenticated administrators to execute commands as root by storing a malicious WireGuard private key. Attackers can save a private_key containing $() shell substitution and call the vpn.export_conf method on the /cgi-bin/luci/rpc/app JSON-RPC endpoint, which passes the key to a wg pubkey shell command.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/13/2026

The Cudy TR3000 router firmware versions prior to 2.5.42 contain a critical command injection vulnerability that allows authenticated administrators to execute arbitrary system commands with root privileges. This flaw stems from improper input validation and sanitization of user-supplied data within the device's web management interface, specifically in how it handles WireGuard configuration parameters. The vulnerability is classified under CWE-78 as Improper Neutralization of Special Elements used in an OS Command, commonly known as OS Command Injection. It highlights a failure to adequately sanitize special characters that have meaning to the operating system shell before passing them to external programs for execution.

The technical mechanism of exploitation involves manipulating the WireGuard private key field during configuration updates. An attacker who has obtained valid administrative credentials can submit a maliciously crafted private_key value containing shell metacharacters, specifically the $() syntax which triggers command substitution in POSIX-compliant shells. When this tainted input is processed by the router's backend logic, it is passed directly to the wg pubkey utility via a system call or shell invocation without proper escaping. The vulnerability is triggered when the attacker invokes the vpn.export_conf method on the /cgi-bin/luci/rpc/app JSON-RPC endpoint. This API endpoint serves as the bridge between the web interface and the underlying network configuration tools, inadvertently exposing the injection point to authenticated users who can interact with it programmatically or via browser developer tools.

The operational impact of this vulnerability is severe due to the privilege level achieved upon successful exploitation. Since the vulnerable command execution occurs within a context that has root privileges, an attacker gains full control over the compromised device. This allows for complete compromise of the router's integrity and confidentiality. The adversary can modify network routing tables, intercept or manipulate traffic passing through the gateway, install persistent backdoors such as malware or cryptominers, and use the router as a pivot point to attack other devices on the internal local area network. Furthermore, because this is an authenticated vulnerability, it requires initial access via valid credentials, which may be obtained through brute-force attacks if weak passwords are in place, social engineering, or credential stuffing from previous data breaches.

Mitigation strategies primarily involve immediate firmware updates provided by Cudy to version 2.5.42 or later, where the input validation logic has been corrected to properly escape special characters before shell execution. In environments where patching is not immediately feasible, network segmentation can limit lateral movement if an attacker gains initial access through other means. Additionally, enforcing strong password policies and multi-factor authentication for administrative accounts reduces the risk of credential compromise that precedes this exploitation. From a defensive monitoring perspective, security teams should look for unusual outbound connections from IoT devices or unexpected changes in firewall rules as indicators of potential compromise related to such vulnerabilities. This incident underscores the importance of rigorous input validation in embedded systems where web interfaces interact directly with low-level system utilities.

Responsible

VulnCheck

Reservation

08/18/2026

Disclosure

11/13/2026

Moderation

accepted

CPE

ready

EPSS

0.01836

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!