CVE-2026-118238: OS Command Injection

Published Oct 30, 2026
·
Updated

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 Software

1 affected component
Tenda W18E

Event History

Oct 27, 2026
Exploit Published
via GitHub·10:42 PM
Oct 30, 2026
CVE Published
via MITRE·03:08 PM
Data Sourced
via MITRE·03:08 PM
DescriptionWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

When can this be exploited without credentials?

The device can be exploited without authentication when it is in a factory-reset state. Otherwise, exploitation requires an authenticated user.

2

What level of access does successful exploitation provide?

Injected commands are executed with root privileges because the affected fields are incorporated into a tcpdump command run by the web management server. This can affect confidentiality, integrity, and availability.

3

Is exploit information publicly available?

Yes. A proof of concept is flagged, and an exploit was published on 2026-10-27.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203