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
What is CVE-2022-24112?
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.
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
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-21. Always confirm with the vendor's or distribution's advisory before patching.