# CVE-2022-24112: Apache APISIX Authentication Bypass Vulnerability

- Priority: **Act now**
- Reason: Listed as exploited by CISA (25-08-2022)
- Next step: Check the vendor advisory
- Status: published
- Published: 2022-02-11 · Modified: 2025-10-21
- Record: https://cvemate.com/vulnerability/CVE-2022-24112 · JSON: https://cvemate.com/vulnerability/CVE-2022-24112/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 96.069%, percentile 99.874%, as of 2026-12-04
- Known exploited (KEV): CISA listed 2022-08-25, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 4 (reference, exploit-database, metasploit)

## Affected

- apache software foundation apache apisix: ≥ Apache APISIX 2.12, \< 2.12.1 \| ≥ Apache APISIX 2.10, \< 2.10.4 \| ≥ 1.3, \< Apache APISIX 1\*
- apache apisix: \< 2.10.4 \| ≥ 2.11.0, \< 2.12.1

## References

- <https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94>
- <http://www.openwall.com/lists/oss-security/2022/02/11/3>
- <http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html>
- <http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html>
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112>

---

Data as of 2026-12-05T08:01:30.540Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
