CVE-2023-1389: TP-Link Archer AX-21 Command Injection Vulnerability
CVE-2023-1389 is a high-severity flaw (CVSS 8.8) affecting archer ax21 firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
TP-Link Archer AX21 (AX1800) firmware versions before 1.1.4 Build 20230219 contained a command injection vulnerability in the country form of the /cgi-bin/luci;stok=/locale endpoint on the web management interface. Specifically, the country parameter of the write operation was not sanitized before being used in a call to popen(), allowing an unauthenticated attacker to inject commands, which would be run as root, with a simple POST request.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Adjacent network |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 100.0% (top 1%) |
| CISA exploited list | Yes, fix due 2023-05-22 |
| Weakness | CWE-77 |
| Published | 2023-03-15 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: Voyag3r-Security/CVE-2023-1389 (17 stars)
- GitHub PoC: werwolfz/CVE-2023-1389 (1 stars)
- Write-up: www.tenable.com/security/research/tra-2023-11
- GitHub PoC: Terminal1337/CVE-2023-1389
- Exploit-DB: TP-Link Archer AX21 - Unauthenticated Command Injection
- Nuclei scan template: TP-Link Archer AX21 (AX1800) - Unauthenticated Command Injection
Advisories and coverage
Official advisories
- F5 Security Advisories: Continued Scanning for CVE-2023-1389 2025-01-21
- F5 Security Advisories: BotPoke Scanner Switches IP 2024-11-25
- F5 Security Advisories: Scanning for TP-Link Wifi Router Vulnerability Increases by 100% 2024-06-21
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-1389?
archer ax21 firmware: upgrade to 1.1.4. Exact commands for each OS are on this page.
Is CVE-2023-1389 being exploited?
Yes. CVE-2023-1389 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2023-1389 affect?
CVE-2023-1389 affects archer ax21 firmware. Severity is high (CVSS 8.8). TP-Link Archer AX21 (AX1800) firmware versions before 1.1.4 Build 20230219 contained a command injection vulnerability in the country form of the /cgi-bin/luci;stok=/locale endpoint on the web management interface. Specifically, the country
How urgent is CVE-2023-1389?
Priority 89/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact
Software pages
Related CVEs
- CVE-2023-31710 CRITICAL 9.8 MITIGATE TP-Link Archer AX21(US)_V3_1.1.4 Build 20230219 and AX21(US)_V3.6_1.1.4 Build 20230219 are vulnerable to Buffe
- CVE-2023-27359 HIGH 8.1 MITIGATE TP-Link AX1800 hotplugd Firewall Rule Race Condition Vulnerability
- CVE-2023-27346 HIGH 8.8 MITIGATE TP-Link AX1800 Firmware Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
- CVE-2023-27333 MEDIUM 6.8 MITIGATE TP-Link Archer AX21 tmpServer Command 0x422 Stack-based Buffer Overflow Remote Code Execution Vulnerability
- CVE-2023-27332 HIGH 8.8 MITIGATE TP-Link Archer AX21 tdpServer Logging Stack-based Buffer Overflow Remote Code Execution Vulnerability