Authentication bypass via spoofed batch request IP
Published Feb 11, 2022 · Updated Oct 21, 2025
Authentication bypass in Apache APISIX 1.3 through 2.12.0 allows remote attackers to evade IP restrictions via batch requests. The batch-requests plugin accepts an attacker-controlled X-REAL-IP value in a pipelined subrequest because its real-client-IP restoration check can be bypassed. When the plugin is enabled, IP allowlists can be bypassed; the default shared data and Admin API port with the default Admin key extends the result to unauthenticated code execution.
Summary
What happened
Authentication bypass in Apache APISIX 1.3 through 2.12.0 allows remote attackers to evade IP restrictions via batch requests. The batch-requests plugin accepts an attacker-controlled X-REAL-IP value in a pipelined subrequest because its real-client-IP restoration check can be bypassed. When the plugin is enabled, IP allowlists can be bypassed; the default shared data and Admin API port with the default Admin key extends the result to unauthenticated code execution.
The record
- CVE
- CVE-2022-24112
- Published
- Feb 11, 2022
- Updated
- Oct 21, 2025
- Vendor
- The Apache Software Foundation
- Product
- Apache APISIX
- Classifications
- CWE-290, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 11, 2022CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.3 <Apache APISIX 1*
- Affected versionversion=Apache APISIX 2.10 <2.10.4
- Affected versionversion=Apache APISIX 2.12 <2.12.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 9, 2026 | Unavailable |
| Sep 10, 2026 | Unavailable |
| Sep 11, 2026 | Unavailable |
| Sep 12, 2026 | Unavailable |
| Sep 13, 2026 | Unavailable |
| Sep 14, 2026 | 2 |
| Sep 15, 2026 | 1 |
Weakness, pattern, technique
Public exploit references
- Apache APISIX 2.12.1 Remote Code Executionproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo