Home / Apache Software Foundation / Apache APISIX / CVE-2022-24112
CVE-2022-24112: is it exploited, and which versions of Apache Software Foundation Apache APISIX are affected and fixed?
CVE-2022-24112 is an authentication bypass by spoofing vulnerability in Apache Software Foundation Apache APISIX, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on August 25, 2022, with a federal due date of September 15, 2022. Affected: Apache APISIX from Apache APISIX 2.12 before 2.12.1, Apache APISIX from Apache APISIX 2.10 before 2.10.4 and Apache APISIX from 1.3 through every Apache APISIX 1 version (CVE record by apache). Fixed in 2.12.1 and 2.10.4 (CVE record by apache). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 28, 2026, 16:16 UTC and NVD November 19, 2026, 07:51 UTC.
What is CVE-2022-24112?
apisix/batch-requests plugin allows overwriting the X-REAL-IP header
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.
From the CVE record by apache, last updated October 21, 2025, 23:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache APISIX | from Apache APISIX 2.12 before 2.12.1 from Apache APISIX 2.10 before 2.10.4 from 1.3 through every Apache APISIX 1 version | 2.12.1, 2.10.4 |
As the CVE record by apache states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | apisix | before 2.10.4 | application |
| apache | apisix | from 2.11.0 before 2.12.1 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:31 UTC.
How severe is CVE-2022-24112?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-24112 exploited in the wild?
- CISA KEV
- Listed as Apache APISIX Authentication Bypass Vulnerability, added August 25, 2022; federal agencies must act by September 15, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- Apache APISIX contains an authentication bypass vulnerability that allows for remote code execution.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, January 29, 2025)
- EPSS
- 96.1% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-290 Authentication Bypass by Spoofing
Is there a workaround? (from the CVE record)
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.
Where are the vendor advisories and references?
- https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94 x_refsource_MISC
- [oss-security] 20220211 CVE-2022-24112: Apache APISIX: apisix/batch-requests plugin allows overwriting the X-REAL-IP header mailing-list, x_refsource_MLIST
- http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html x_refsource_MISC
- http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112 government-resource
Who found and reported it?
- Original discovery by Real World CTF at Chaitin Tech. Reported by Sauercloud. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 28, 2022
- Published
- February 11, 2022, 12:20 UTC
- CVE record updated
- October 21, 2025, 23:15 UTC by apache
- NVD
- Analyzed, last modified June 17, 2026, 04:31 UTC
- Last checked
- CVE list November 28, 2026, 16:16 UTC; NVD November 19, 2026, 07:51 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Apache APISIX?
- Nov 13, 2026CVE-2026-124679 Apache Software Foundation Apache APISIX: authentication bypass by spoofing
- Nov 13, 2026CVE-2026-124716 Apache Software Foundation Apache APISIX: incorrect authorization
- Nov 13, 2026CVE-2026-124666 Apache Software Foundation Apache APISIX: authentication bypass by spoofing
- Nov 13, 2026CVE-2026-124680 Apache Software Foundation Apache APISIX: interpretation Conflict
- Nov 13, 2026CVE-2026-124719 Apache Software Foundation Apache APISIX: authentication bypass by spoofing
- Nov 13, 2026CVE-2026-124723 Apache Software Foundation Apache APISIX: interpretation Conflict
- Nov 13, 2026CVE-2026-124726 Apache Software Foundation Apache APISIX: path traversal
- Oct 1, 2026CVE-2026-94276 Apache Software Foundation Apache APISIX: authentication bypass (improper authentication)
Questions about CVE-2022-24112
Is CVE-2022-24112 exploited in the wild?
Yes. CISA added CVE-2022-24112 to its Known Exploited Vulnerabilities catalog on August 25, 2022 and set federal agencies a due date of September 15, 2022. FIRST's EPSS gives it a 96.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache APISIX are affected by CVE-2022-24112?
Apache APISIX from Apache APISIX 2.12 before 2.12.1, Apache APISIX from Apache APISIX 2.10 before 2.10.4 and Apache APISIX from 1.3 through every Apache APISIX 1 version, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2022-24112?
2.12.1 and 2.10.4, per the CVE record by apache. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-24112?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-24112?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.