Tenda W18E
CVE-2026-118238
Edge device · Router / network deviceknown edge product: Tenda W18E CVE-2026-118238 (high confidence)
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- V16.01.0.20
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 2.7 days before publication; not in CISA KEV. First PoC: Cushz/CVE-2026-118238 (created 27 Oct 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| Cushz/CVE-2026-118238 | 27 Oct 2026 −2.7 d | 14 Nov 2026 | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| PoC Index | https://cushz.github.io/en/exploit-development/2026/10/27/hacking-routers-for-fun-and-not-profit.html | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /pwn.txt
- Ports
- 8080
- Seen in
- 1 repo: Cushz/CVE-2026-118238
- Evidence
- Cushz/CVE-2026-118238/EXPECTED_OUTPUT.txt:24 Cushz/CVE-2026-118238/EXPECTED_OUTPUT.txt:26
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/pwn\.txt(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-118238 Tenda W18E exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/pwn.txt"; reference:url,poc.griffinguard.io/cve/CVE-2026-118238; classtype:web-application-attack; sid:9022424; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Tenda W18E exploit attempt (CVE-2026-118238)
id: gg-pocmon-cve-2026-118238-9022424
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-118238. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-118238
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/pwn.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.118238