draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2023-1389: TP-Link Archer AX-21 Command Injection Vulnerability

Exploited in attacksPublic exploit code

Yes. CVE-2023-1389 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 1 May 2023. Public exploit code is available: 1 Exploit-DB entry and a Nuclei detection template. EPSS puts the chance of further exploitation attempts in the next 30 days at 99.9%.

Exploited in real attacks
Yes. On CISA's exploited list since 1 May 2023
Used in ransomware
Not known
Public exploit code
1 Exploit-DB entry and a Nuclei detection template
Chance of exploitation (EPSS)
99.9% in the next 30 days, higher than 99.9% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
8.8 High (version 3.1)
Affects
TP-Link Archer AX21
Type of flaw
Command injection (CWE-77)
Published
15 March 2023
US federal patch deadline
22 May 2023

What it is

TP-Link Archer AX-21 contains a command injection vulnerability that allows for remote code execution.

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.

Description from the CVE record.

Is CVE-2023-1389 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2023-1389 on 1 May 2023.

Public exploit code

These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's required action: Apply updates per vendor instructions.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place TP-Link Archer AX21 runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
  4. Assume it has been scanned. A public Nuclei template exists for this flaw, so finding exposed systems across the internet is automated.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Archer AX21. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in TP-Link products

CVEWhat it affectsStatusEPSSPublished
CVE-2025-9377TP-Link Multiple RoutersNo public exploit found44.3%29 August 2025
CVE-2023-50224TP-Link TL-WR841NNo public exploit found20.0%3 May 2024
CVE-2020-24363TP-Link TL-WA855REPublic exploit23.6%31 August 2020
CVE-2023-33538TP-Link Multiple RoutersNo public exploit found41.9%7 June 2023
CVE-2015-3035TP-Link Multiple Archer DevicesPublic exploit90.6%17 April 2015
CVE-2021-4045TP-Link Tapo C200Public exploit72.4%7 March 2022

Sources

Machine-readable: /api/cve/CVE-2023-1389.json