CVE-2022-24112: Apache APISIX Authentication Bypass
Apache APISIX · listed in the CISA catalog of actively exploited vulnerabilities since 2022-08-25.
- CVSS v3.1 (CISA ADP)
- 9.8
- critical
- EPSS (exploit probability, 30 days)
- 96%
- higher than 99.8% of all CVEs
- Added to CISA KEV
- 2022-08-25
- US federal due date 2022-09-15
- Automatable (CISA SSVC)
- yes
- technical impact: total
CVE-2022-24112 explained
CVE-2022-24112 is an authentication bypass in Apache APISIX. A bug in the batch-requests plugin lets attackers get around the IP restriction of the Admin API. With the default configuration and default API key, this can lead to remote code execution. CISA lists it as known to be exploited.
Impact
A remote, unauthenticated attacker can bypass the Admin API IP restriction over the network with no user interaction. On default setups with the default admin key, this allows remote code execution. CISA rates it automatable with total technical impact. If the admin key or Admin API port was changed, the impact is lower, but the data panel IP restriction can still be bypassed.
Who is affected
The CVE record lists Apache Software Foundation Apache APISIX from 1.3 up to and including the Apache APISIX 1.x branch, from 2.10 up to but not including 2.10.4, and from 2.12 up to but not including 2.12.1. Fixed versions are 2.10.4 and 2.12.1. The record names no fixed version within the 1.x branch.
Written with AI from the data on this page and checked against it automatically.
Official description
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 the batch-requests plugin which overrides the client IP with its real remote IP. But due to a bug in the code, this check can be bypassed.
CISA required action: Apply updates per vendor instructions.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- Apache Software Foundation Apache APISIXAffectedFixed in
- ≥ 1.3, ≤ Apache APISIX 1.x
- ≥ Apache APISIX 2.10, < 2.10.4
- ≥ Apache APISIX 2.12, < 2.12.1
- 2.10.4
- 2.12.1
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache APISIX |
|
|
How to fix it
- Update to a fixed version: 2.10.4, 2.12.1.
- Vendor advisory: lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94
- CISA's deadline for US federal agencies: 2022-09-15 (passed) – a useful benchmark for everyone else, too.
Workaround: 1. explicitly configure the enabled plugins in conf/config.yaml, ensure batch-requests is disabled. (Or just comment out batch-requests in conf/config-default.yaml) Or 1. upgrade to 2.10.4 or 2.12.1.
What to do
- Upgrade Apache APISIX to
2.10.4or2.12.1or later, following the vendor advisory. - Move 1.x deployments to a fixed release, since the record lists no 1.x fix.
- Change the default Admin API key on every deployment.
- Run the Admin API on a port separate from the data panel and keep it off the internet.
- Disable the batch-requests plugin if it is not needed, and check systems for signs of compromise.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-290 Authentication Bypass by Spoofing
Questions about CVE-2022-24112
- Is this vulnerability being exploited?
- Yes. CISA added CVE-2022-24112 to its Known Exploited Vulnerabilities catalog on 2022-08-25, with a US federal due date of 2022-09-15. Known ransomware use is listed as unknown.
- Are deployments with a changed admin key safe?
- No. Changing the admin key or the Admin API port lowers the impact, but the IP restriction of the data panel can still be bypassed. Upgrading to a fixed version is required.
- Which versions fix the issue?
- The CVE record names
2.10.4and2.12.1as fixed versions. CISA's required action is to apply updates per vendor instructions.
Written with AI from the data on this page and checked against it automatically.
References
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.