Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain LAN or mesh network access
-
DeliveryObtain or bypass MQTT broker credentials
-
ExploitCraft MQTT payload embedding OS shell commands
-
InstallPublish payload to mesh command interface topic
-
C2sync_command forwards unsanitized input to command.lua shell sink
-
ExecuteArbitrary commands execute as root
-
ImpactFull router compromise achieved
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 authenticated access to the MQTT broker running on the Cudy WR3000 2.0 - meaning the attacker must be able to publish messages to the mesh MQTT command interface, which is described as default-enabled in the firmware. This access could be achieved via valid MQTT credentials, unauthenticated broker access if the MQTT service lacks authentication enforcement (common in consumer firmware), or by being a device already on the router's LAN or mesh network. The specific vulnerable code path runs through the sync_command binary and command.lua; no non-default configuration is required to reach it since the mesh command execution path is enabled by default. Exploitation is limited to firmware versions before 2.5.24 and to the WR3000 2.0 hardware model. The PR:L CVSS metric confirms authenticated access is a prerequisite, but the effective barrier depends heavily on how the MQTT broker is configured in practice. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) accurately reflects the real-world risk profile. Attack complexity is low and no special attack requirements exist once MQTT broker access is obtained. The PR:L metric is critical: exploitation is gated behind authenticated access to the MQTT broker, which meaningfully constrains the attacker pool compared to a fully unauthenticated flaw. However, MQTT brokers in mesh routers are commonly accessible to any device on the LAN, and default credentials or weak authentication configurations are prevalent in consumer router firmware, potentially making this closer to a de-facto PR:N scenario in many real deployments. No EPSS data was provided, and no CISA KEV listing or POC code is confirmed, so automated at-scale exploitation is not currently evidenced. The primary realistic risk scenario is a compromised or malicious device on the same network segment, or an attacker with stolen MQTT credentials, leveraging the flaw to achieve persistent root access to the router - enabling traffic interception, DNS manipulation, or lateral movement. For organizations using Cudy WR3000 2.0 in mesh deployments, this should be treated as high priority given the trivial exploitation path after initial access. |
| Exploit ScenarioDerived | An attacker with LAN access - such as a compromised IoT device, a rogue guest network user, or an insider - connects to the Cudy WR3000 2.0 MQTT broker and publishes a crafted message to the mesh command topic containing shell metacharacters (e.g., a semicolon-delimited OS command). The sync_command binary receives the message and forwards the unsanitized payload to command.lua, which passes it to a shell execution sink, causing the injected command to run as root. The attacker then establishes a persistent backdoor or exfiltrates credentials stored on the router. No public POC has been identified, but the injection point is described with sufficient specificity in the VulnCheck advisory that development of working exploit code would require minimal effort. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
OS command injection in the Cudy WR3000 2.0 router allows an authenticated network attacker to execute arbitrary commands with root privileges by exploiting the mesh MQTT command interface. The sync_command binary passes unsanitized attacker-controlled input directly to a shell execution sink in command.lua, and the vulnerable command execution path is enabled by default. No public exploit code or CISA KEV listing has been identified at time of analysis, but the low attack complexity and root-level impact make this a high-priority patch target for any deployment using the mesh networking feature.
RemediationAI
The primary remediation is upgrading the Cudy WR3000 2.0 firmware to version 2.5.24 or later, available from the Cudy download center at https://www.cudy.com/en-us/pages/download-center/wr3000-2-0. If immediate firmware update is not feasible, the following compensating controls should be applied in order of preference: first, disable the mesh networking feature entirely if it is not operationally required - this removes the MQTT command interface from the attack surface but eliminates mesh topology support; second, use firewall ACLs or VLAN segmentation to restrict which hosts can reach the MQTT broker port (default TCP 1883 for plaintext, TCP 8883 for TLS) to trusted mesh nodes only, reducing the attacker pool; third, enforce strong, unique MQTT broker authentication credentials to prevent unauthorized broker access. Note that network-layer restrictions alone do not fix the underlying injection flaw and should be treated as temporary measures pending the firmware update.
Affected VersionsENISA
Affected Packages
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 Cudy WR3000 2.0 is a consumer and SOHO wireless router manufactured by Shenzhen Cudy Technology Co., Ltd. (CPE: cpe:2.3:a:shenzhen_cudy_technology_co.,_ltd.:wr3000_2.0:*:*:*:*:*:*:*:*). The router implements a mesh networking stack that uses MQTT (Message Queuing Telemetry Transport) as an inter-node command bus. A C binary named sync_command acts as the MQTT message consumer and routes received payloads to command.lua for processing. The root cause (CWE-78: Improper Neutralization of Special Elements used in an OS Command) manifests because sync_command concatenates or passes attacker-supplied MQTT message content into a shell execution call inside command.lua without any sanitization, escaping, or allowlist filtering. Because MQTT messages can embed shell metacharacters (semicolons, backticks, pipes), an attacker with publish access to the broker can inject arbitrary OS commands that execute in the context of the process owner - confirmed to be root.
Know when Wr3000 2 0 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable MQTT broker requires low-privilege authenticated access; no scope change as impact is confined to the router itself.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Cudy WR3000 2.0 running firmware before 2.5.24 contains an OS command injection vulnerability that allows authenticated attackers to execute arbitrary OS commands with root privileges by sending unsanitized input through the mesh MQTT command interface. The sync_command binary forwards unsanitized input directly to a shell execution sink in command.lua, enabling attackers with access to the MQTT broker to exploit the default-enabled command execution path to achieve full root-level system compromise.
Executive ViewAI
The Cudy WR3000 2.0 router contains a command injection vulnerability in its mesh networking feature that allows authenticated attackers to execute root-level commands, potentially granting complete network device compromise to internal threat actors or compromised administrative accounts.
No vendor-released patch identified at time of analysis. Interim mitigations: disable mesh MQTT command interface if not operationally required; restrict network access to MQTT command interface to authorized administrative systems only; implement command execution monitoring on affected routers; enforce MFA on all administrative accounts with mesh configuration access; isolate mesh-enabled routers to a dedicated administrative network segment.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-62418
GHSA-8jmp-g7g6-gf45
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB