CVE-2023-1389: Unauthenticated Root Command Injection in TP-Link Archer AX21
- Vendor
- TP-Link
CVE-2023-1389 is an unauthenticated operating-system command-injection vulnerability affecting TP-Link Archer AX21 (AX1800) router firmware before 1.1.4 Build 20230219. The web management interface fails to sanitize the country parameter when processing a write operation in its locale endpoint's country form. The parameter reaches a popen() call, allowing a crafted HTTP POST request to execute arbitrary commands as root. The vulnerability has been actively exploited by multiple botnets, including Mirai variants, Condi, Kaiji, RondoDox, and ClingSTUN.
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.
Successful exploitation compromises the router with root privileges, threatening the confidentiality and integrity of device configuration and data accessible to the router, as well as routing and service availability. Attackers can deploy malware, alter device behavior, and use the router as infrastructure for further attacks. Observed exploitation includes recruitment into DDoS botnets and deployment of persistent remote-access and proxy malware.
Mitigation
If you can’t patch tonight, do this now.
Remove the web management interface from Internet exposure and restrict management access to approved administrative workstations or network segments. Isolate vulnerable or unsupported routers from critical assets, limit unnecessary outbound connectivity, and monitor for exploitation requests, unexpected processes, startup modifications, and anomalous outbound communications. These controls reduce exposure but do not correct the command-injection flaw.
Remediation
Patch, then assume compromise.
Upgrade affected Archer AX21 routers to firmware 1.1.4 Build 20230219 or a later vendor-supported release appropriate to the device's hardware revision and region. Verify that the update was installed successfully; some hardware revisions require manual firmware updates. Replace unsupported devices when a suitable security update is unavailable.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
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-1389 exploited in the wild?
- Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 1, 2023.
- Is there a public exploit for CVE-2023-1389?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2023-1389, the earliest disclosed Jul 28, 2023.
- Is there a patch for CVE-2023-1389?
- Upgrade affected Archer AX21 routers to firmware 1.1.4 Build 20230219 or a later vendor-supported release appropriate to the device's hardware revision and region. Verify that the update was installed successfully; some hardware revisions require manual firmware updates.
- What products are affected by CVE-2023-1389?
- TP-Link Archer Ax21 Firmware.
- How severe is CVE-2023-1389?
- CVE-2023-1389 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 89.3% (100th percentile) as of Nov 28, 2026.
Recent activity
85 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.