CVE-2022-24112Apache APISIX
Remote Code Execution without Authentication in Apache APISIX
Critical 9.8 KEV No auth neededHigh EPSS
Follow: this CVE · Apache · Apache APISIX We alert you by email or Slack (account required).
- Priority
- 83
- CVSS 3.1
- 9.8
- EPSS
- 95.4% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Aug 25, 2022
- CISA deadline
- Sep 15, 2022
- Ransomware use
- Unknown
- Published
- Feb 11, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-290
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Apache APISIX versions before 2.10.4 and 2.11.0 to 2.12.0 contain an authentication bypass vulnerability in the batch-requests plugin that allows remote code execution without valid credentials. The flaw enables attackers to bypass IP restrictions on the Admin API, particularly in default configurations. CISA confirmed this vulnerability is actively exploited.
Show the original NVD 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.
Exploitation confirmed by CISA
Apache APISIX contains an authentication bypass vulnerability that allows for remote code execution.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 2.10.4, 2.12.1
Update Apache APISIX to version 2.10.4 or later (2.12.1 for 2.11+ branch). If unable to update, change the Admin API key and restrict network access to the Admin API.
- Apply the vendor's security update for APISIX.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 15, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | apisix | < 2.10.4 |
| apache | apisix | ≥ 2.11.0 < 2.12.1 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.openwall.com Mailing List Mitigation Third Party Advisory
- lists.apache.org Mailing List Mitigation Vendor Advisory
- www.cisa.gov Third Party Advisory US Government Resource