Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach W18E web management server
-
DeliveryAuthenticate or target factory-reset device
-
ExploitSend crafted diagnose JSON with metacharacters
-
ExecutionInjected string concatenated into tcpdump command
-
PersistShell command executes as root
-
ImpactFull device compromise
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 | The attacker must be able to reach the W18E web management server and invoke the 'diagnose' packet-capture feature, then supply a JSON body whose protocol or targetDevice field contains shell metacharacters; these are concatenated into a tcpdump command executed as root (CWE-78). In a normally configured device this requires an authenticated session (CVSS PR:H), which is the primary limiting factor; however, the description states that when the device is in a factory-reset (unconfigured) state the same injection can be performed without authentication. Confirmed affected build is W18E V16.01.0.20. Limiting factors for defenders: exposure of the management interface to the attacker, possession of valid credentials OR the device being in a factory-reset state, and the absence of input validation on those specific JSON fields. |
| Impact | This is a genuine high-impact issue but not an immediate fire drill based on the supplied signals, which are consistent rather than conflicting. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N, C:H/I:H/A:H = 7.2 High) indicates a network-reachable, low-complexity flaw that yields total system compromise but requires high privileges, and SSVC agrees (Technical Impact: total, Exploitation: none, Automatable: no), producing a 'this_week' priority rather than an emergency. It is NOT in CISA KEV and SSVC reports no observed exploitation, so there is no evidence of active attacks; a public PoC reference (an exploit-development blog) exists but is not verified as working exploit code. The one notable tension is between the PR:H CVSS metric and the description's statement that the flaw is unauthenticated when the device is in a factory-reset state - these describe two different deployment conditions, so for a freshly reset or unconfigured device the real privilege barrier drops to none, materially raising risk even though the base vector scores PR:H. Automatable:no reflects that mass, unauthenticated internet-scale exploitation is not expected because the normal path needs admin-level access. |
| Exploit ScenarioDerived | An attacker with authenticated access to the W18E web management interface (for example a low-trust internal user or someone who has obtained admin credentials) opens the 'diagnose' packet-capture feature and submits a JSON request with shell metacharacters embedded in the protocol or targetDevice field. Because these values are concatenated unsanitized into a tcpdump command run as root, the injected commands execute with root privileges, fully compromising the router. If the device is in a factory-reset state, the same request can be sent without authentication, and a public PoC reference exists though it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 30, 2026
OS command injection in the Tenda W18E web management server lets an attacker who can reach the 'diagnose' packet-capture feature inject shell metacharacters through the JSON 'protocol' or 'targetDevice' fields, which are concatenated into a tcpdump command executed with root privileges and therefore yield full compromise of confidentiality, integrity and availability. In a normally configured device the injection requires an authenticated session (CVSS PR:H), but the description states the same path is reachable without authentication while the unit is in a factory-reset, unconfigured state; the confirmed affected build is W18E V16.01.0.20. Exploitation is not confirmed active (CISA KEV status is absent and SSVC exploitation is 'none' with automatable 'no'), although a public exploit-development writeup is referenced for this target; that reference is not verified as working exploit code, and no EPSS score was supplied.
RemediationAI
No vendor-released patch was identified at time of analysis and no fixed firmware version is listed in the available references, so remediation must currently rely on exposure reduction. Restrict reachability of the W18E web management server so that only trusted administrative networks or a management VLAN can reach the diagnose endpoint; blocking management-plane access from WAN, guest and general user segments removes the remote attack path (AV:N) but requires network segmentation to be in place. Do not leave devices in a factory-reset or otherwise unprovisioned state on an untrusted network, since the description states the injection is possible without authentication in that condition; completing initial configuration and setting administrative credentials is the only stated way to restore the PR:H prerequisite, though this does not fix the underlying injection. Monitor the referenced research at https://cushz.github.io/en/exploit-development/2026/10/27/hacking-routers-for-fun-and-not-profit.html and Tenda's advisory channels for a patched firmware release, and plan to upgrade W18E V16.01.0.20 units as soon as a vendor fix is published.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic OS command injection (CWE-78) in the W18E's web-based management server, specifically in the packet-capture 'diagnose' workflow. User-supplied JSON values for the protocol and targetDevice fields are not validated or escaped before being concatenated into a shell command line built around tcpdump, so shell metacharacters in those fields break out of the intended argument and execute arbitrary commands. Because the capture utility runs with root privileges, successful injection gives the highest level of control over the embedded device. CPE data identifies the affected product family as cpe:2.3:a:tenda:w18e:*:*:*:*:*:*:*:* with ENISA EUVD narrowing the confirmed vulnerable firmware to W18E V16.01.0.20; the supplied evidence does not describe the exact parsing code path or whether additional firmware versions are affected beyond that build.
Know when W18E 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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Network-reachable web management server (AV:N), straightforward injection (AC:L), normally needs admin access to the diagnose feature (PR:H), no user interaction, and root command execution gives total C/I/A impact.
Primary rating from Vendor (certcc).
CVSS VectorVendor: certcc
Lifecycle Timeline
3DescriptionCVE.org
The Tenda W18E web management server is vulnerable to OS command injection via the "diagnose" packet-capture feature due to improper validation of JSON fields. An authenticated user can inject shell metacharacters into the protocol or targetDevice fields, which are later concatenated into a tcpdump command and executed with root privileges. This vulnerability can be exploited without authentication if the device is in a factory-reset state.
Executive ViewAI
The Tenda W18E router, a small business networking device, contains a high-severity OS command injection flaw that can give attackers full control. While exploitation requires authentication in normal operation, devices in a factory-reset state are vulnerable to unauthenticated compromise, putting organizations with unconfigured devices at immediate risk. Leadership should prioritize identifying and updating these devices.
No vendor patch identified at time of analysis. Interim mitigations: ensure devices are configured with strong credentials and not left in factory-reset state; restrict access to the web management interface to trusted IP addresses; segment devices on isolated VLANs; monitor for anomalous tcpdump or shell activity.
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-114093
GHSA-26w6-cmwv-h7mc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB