CVE-2022-24112: Apache APISIX Authentication Bypass Vulnerability
CVE-2022-24112 is a critical-severity flaw (CVSS 9.8) affecting apisix, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API. A default configuration of Apache APISIX (with default API key) is vulnerable to remote code execution. When the admin key was changed or the port of Admin API was changed to a port different from the data panel, the impact is lower. But there is still a risk to bypass the IP restriction of Apache APISIX's data panel. There is a check in th
Why this priority
- Critical 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
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 96.1% (top 1%) |
| CISA exploited list | Yes, fix due 2022-09-15 |
| Weakness | CWE-290 |
| Published | 2022-02-11 |
| 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: Mr-xn/CVE-2022-24112 (43 stars)
- GitHub PoC: M4xSec/Apache-APISIX-CVE-2022-24112 (15 stars)
- GitHub PoC: twseptian/cve-2022-24112 (9 stars)
- GitHub PoC: Acczdy/CVE-2022-24112_POC
- GitHub PoC: Axx8/CVE-2022-24112
- Exploit-DB: Apache APISIX 2.12.1 - 'batch-requests' Remote Code Execution (RCE)
- Metasploit: APISIX Admin API default access token RCE
- Nuclei scan template: Apache APISIX - Remote Code Execution
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-2022-24112?
apisix: upgrade to 2.10.4, 2.12.1. Exact commands for each OS are on this page.
Is CVE-2022-24112 being exploited?
Yes. CVE-2022-24112 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-24112 affect?
CVE-2022-24112 affects apisix. Severity is critical (CVSS 9.8). An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API. A default configuration of Apache APISIX (with default API key) is vulnerable to remote code execution. When the admin key was chang
How urgent is CVE-2022-24112?
Priority 100/100. Critical 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; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-31908 CRITICAL 9.1 UPGRADE Header injection vulnerability in Apache APISIX. The attacker can take advantage of certain configuration in
- CVE-2026-31923 HIGH 7.5 UPGRADE Cleartext Transmission of Sensitive Information vulnerability in Apache APISIX. This can occur due to `ssl_ve
- CVE-2026-31924 MEDIUM 5.3 UPGRADE Cleartext Transmission of Sensitive Information vulnerability in Apache APISIX. tencent-cloud-cls log export
- CVE-2026-39998 HIGH 8.8 UPGRADE Improper Input Validation vulnerability in Apache APISIX. The attacker can take advantage of certain configur
- CVE-2026-48895 HIGH 7.2 UPGRADE URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Apache APISIX. The attacker could manipu