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.
CVE-2022-24112
Score elevated to 9.8 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2022-08-25), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EG Risk
- 99(Act)
- EPSS
- 99.9%
- KEV
- ⚠ Exploited
Published
February 11, 2022
Last Modified
October 23, 2025
Advisory Details (4)
Auto-updated Jun 1, 2026Known Exploited Vulnerabilities Catalog | CISA
Known Exploited Vulnerabilities Catalog | CISA. Listed in CISA Known Exploited Vulnerabilities catalog.
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112oss-security - CVE-2022-24112: Apache APISIX: apisix/batch-requests plugin allows overwriting the X-REAL-IP header
http://www.openwall.com/lists/oss-security/2022/02/11/3Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 55× in last 7d / 215× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 372 total refreshes for this CVE.
- 2026-07-22 23:30 UTCEG score recompute
- 2026-07-22 23:30 UTCGHSA enrichment
- 2026-07-22 22:55 UTCEG score recompute
- 2026-07-22 19:40 UTCCISA KEV update
- 2026-07-22 19:37 UTCGHSA enrichment
- 2026-07-22 15:44 UTCEG score recompute
- 2026-07-22 15:43 UTCGHSA enrichment
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 11:50 UTCGHSA enrichment
- 2026-07-22 07:57 UTCGHSA enrichment
- 2026-07-22 04:05 UTCGHSA enrichment
- 2026-07-22 00:12 UTCGHSA enrichment
- 2026-07-21 20:17 UTCGHSA enrichment
- 2026-07-21 16:22 UTCGHSA enrichment
- 2026-07-21 14:37 UTCCISA KEV update
- 2026-07-21 12:30 UTCGHSA enrichment
- 2026-07-21 08:37 UTCGHSA enrichment
- 2026-07-21 04:43 UTCGHSA enrichment
- 2026-07-21 00:50 UTCGHSA enrichment
- 2026-07-20 20:57 UTCGHSA enrichment
- 2026-07-20 17:04 UTCGHSA enrichment
- 2026-07-20 13:09 UTCGHSA enrichment
- 2026-07-20 09:15 UTCGHSA enrichment
- 2026-07-20 05:23 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-07-20 01:30 UTCGHSA enrichment
- 2026-07-19 21:37 UTCGHSA enrichment
- 2026-07-19 17:44 UTCGHSA enrichment
- 2026-07-19 13:51 UTCGHSA enrichment
- 2026-07-19 09:59 UTCGHSA enrichment
- 2026-07-19 06:06 UTCEG score recompute
- 2026-07-19 06:06 UTCGHSA enrichment
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:13 UTCGHSA enrichment
- 2026-07-18 22:20 UTCGHSA enrichment
- 2026-07-18 18:26 UTCGHSA enrichment
- 2026-07-18 14:33 UTCGHSA enrichment
- 2026-07-18 10:40 UTCGHSA enrichment
- 2026-07-18 06:45 UTCGHSA enrichment
- 2026-07-18 02:52 UTCGHSA enrichment
- 2026-07-17 22:59 UTCGHSA enrichment
- 2026-07-17 19:06 UTCGHSA enrichment
- 2026-07-17 15:13 UTCGHSA enrichment
- 2026-07-17 11:20 UTCGHSA enrichment
- 2026-07-17 07:27 UTCEG score recompute
- 2026-07-17 07:27 UTCGHSA enrichment
- 2026-07-17 03:34 UTCGHSA enrichment
- 2026-07-16 23:41 UTCGHSA enrichment
- 2026-07-16 19:48 UTCGHSA enrichment
- 2026-07-16 17:04 UTCCISA KEV update
- 2026-07-16 15:55 UTCGHSA enrichment
- 2026-07-16 12:01 UTCGHSA enrichment
- 2026-07-16 08:08 UTCGHSA enrichment
- 2026-07-16 04:16 UTCGHSA enrichment
- 2026-07-16 00:23 UTCGHSA enrichment
- 2026-07-15 20:30 UTCGHSA enrichment
- 2026-07-15 16:49 UTCCISA KEV update
- 2026-07-15 16:38 UTCGHSA enrichment
- 2026-07-15 15:04 UTCCISA KEV update
- 2026-07-15 12:44 UTCGHSA enrichment
- 2026-07-15 08:50 UTCGHSA enrichment
- 2026-07-15 04:56 UTCGHSA enrichment
- 2026-07-15 01:03 UTCGHSA enrichment
- 2026-07-14 21:10 UTCGHSA enrichment
- 2026-07-14 18:05 UTCCISA KEV update
- 2026-07-14 17:17 UTCGHSA enrichment
- 2026-07-14 13:24 UTCGHSA enrichment
- 2026-07-14 09:31 UTCGHSA enrichment
- 2026-07-14 05:37 UTCGHSA enrichment
- 2026-07-14 01:44 UTCGHSA enrichment
- 2026-07-13 21:52 UTCGHSA enrichment
- 2026-07-13 17:59 UTCGHSA enrichment
- 2026-07-13 17:07 UTCCISA KEV update
- 2026-07-13 14:06 UTCGHSA enrichment
- 2026-07-13 10:13 UTCGHSA enrichment
- 2026-07-13 06:19 UTCGHSA enrichment
- 2026-07-13 02:26 UTCGHSA enrichment
- 2026-07-12 22:33 UTCGHSA enrichment
- 2026-07-12 18:40 UTCGHSA enrichment
- 2026-07-12 14:47 UTCGHSA enrichment
- 2026-07-12 10:54 UTCGHSA enrichment
- 2026-07-12 07:01 UTCGHSA enrichment
- 2026-07-12 03:08 UTCGHSA enrichment
- 2026-07-11 23:15 UTCGHSA enrichment
- 2026-07-11 19:22 UTCGHSA enrichment
- 2026-07-11 15:29 UTCGHSA enrichment
- 2026-07-11 11:36 UTCGHSA enrichment
- 2026-07-11 07:43 UTCGHSA enrichment
- 2026-07-11 03:50 UTCGHSA enrichment
- 2026-07-10 23:57 UTCGHSA enrichment
- 2026-07-10 20:04 UTCGHSA enrichment
- 2026-07-10 17:52 UTCCISA KEV update
- 2026-07-10 16:09 UTCGHSA enrichment
- 2026-07-10 12:16 UTCGHSA enrichment
- 2026-07-10 08:22 UTCGHSA enrichment
- 2026-07-10 04:28 UTCGHSA enrichment
- 2026-07-10 00:34 UTCGHSA enrichment
- 2026-07-09 20:42 UTCGHSA enrichment
- 2026-07-09 16:49 UTCGHSA enrichment
- 2026-07-09 12:56 UTCGHSA enrichment
Publicly available exploits
(10 references)Working exploit code is in the public domain (1 Metasploit module) (7 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCAcczdy/CVE-2022-24112_POCFirst seen Dec 3, 2022
CVE-2022-24112_POC
Open source ↗ - GitHub PoCtwseptian/cve-2022-24112First seen Mar 20, 2022
Apache APISIX < 2.12.1 Remote Code Execution and Docker Lab
Open source ↗ - GitHub PoCkavishkagihan/CVE-2022-24112-POCFirst seen Mar 17, 2022
Apache APISIX 2.12.1 Remote Code Execution by IP restriction bypass and using default admin AIP token
Open source ↗ - Exploit-DBEDB-50829First seen Mar 16, 2022
Apache APISIX 2.12.1 - Remote Code Execution (RCE)
Open source ↗ - GitHub PoCM4xSec/Apache-APISIX-CVE-2022-24112First seen Mar 16, 2022
Apache APISIX Remote Code Execution (CVE-2022-24112) proof of concept exploit
Open source ↗ - GitHub PoCMah1ndra/CVE-2022-24112First seen Mar 8, 2022
CVE-2022-24112: Apache APISIX Remote Code Execution Vulnerability
Open source ↗ - GitHub PoCSecNN/CVE-2022-24112First seen Feb 25, 2022
Apache APISIX batch-requests RCE(CVE-2022-24112)
Open source ↗ - GitHub PoCMr-xn/CVE-2022-24112First seen Feb 22, 2022
CVE-2022-24112:Apache APISIX apisix/batch-requests RCE
Open source ↗ - Nucleihttp/cves/2022/CVE-2022-24112.yamlFirst seen Jan 1, 2022
Apache APISIX - Remote Code Execution
Open source ↗ - Metasploitexploit/multi/http/apache_apisix_api_default_token_rce✓ verifiedFirst seen Dec 7, 2020
APISIX Admin API default access token RCE
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-290
Frequently asked(6)
What is CVE-2022-24112?
When was CVE-2022-24112 disclosed?
Is CVE-2022-24112 actively exploited?
What is the CVSS score of CVE-2022-24112?
Which products are affected by CVE-2022-24112?
How do I remediate CVE-2022-24112?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2022-24112
Is Your Infrastructure Affected by CVE-2022-24112?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.