CVE-2023-33538: Authenticated Command Injection in TP-Link Legacy Routers
- Vendor
- TP-Link
CVE-2023-33538 is an OS command injection vulnerability in the web-management functionality of end-of-life TP-Link TL-WR940N V2/V4, TL-WR841N V8/V10, and TL-WR740N V1/V2 routers. The SSID configuration parameter ssid1 is insufficiently sanitized before being incorporated into a shell command used to configure the wireless interface. The constructed command ultimately reaches a shell execution function, allowing injected operating-system commands to run on the router.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An authenticated attacker can execute arbitrary system commands on a vulnerable router. Firmware emulation confirmed command injection and demonstrated modification of a startup script, providing a potential persistence mechanism. Successful compromise could therefore permit alteration of router configuration and execution of attacker-controlled actions within the router's constrained BusyBox environment.
Mitigation
If you can’t patch tonight, do this now.
Ensure the router web-management interface is protected with non-default, strong administrative credentials. Retire affected routers from active networks where possible; replacement is the primary mitigation because the affected devices no longer receive security updates.
Remediation
Patch, then assume compromise.
The affected router versions are end-of-life and no longer supported. Replace affected devices with currently supported hardware, as vendor patches are not expected for these models.
Exploits
3 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-33538 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 16, 2025.
- Is there a public exploit for CVE-2023-33538?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2023-33538, the earliest disclosed Jun 22, 2025.
- Is there a patch for CVE-2023-33538?
- The affected router versions are end-of-life and no longer supported. Replace affected devices with currently supported hardware, as vendor patches are not expected for these models.
- What products are affected by CVE-2023-33538?
- TP-Link Tl-Wr740n Firmware, TP-Link Tl-Wr841n Firmware, and TP-Link Tl-Wr940n Firmware.
- How severe is CVE-2023-33538?
- CVE-2023-33538 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 41.6% (99th percentile) as of Oct 16, 2026.
Recent activity
72 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.