CVE-2022-24112: Apache APISIX batch-requests IP restriction bypass and RCE
- Vendor
- Apache Software Foundation
CVE-2022-24112 is an IP restriction bypass vulnerability in the Apache APISIX batch-requests plugin. A faulty check intended to override the client IP with the actual remote IP can be bypassed, allowing attackers to submit requests that circumvent Admin API IP restrictions. Default configurations using the default API key are vulnerable to remote code execution. Changing the admin key or separating the Admin API port from the data panel reduces the impact, but data-panel IP restrictions can remain bypassable.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can bypass Admin API IP-based access controls and enable remote code execution in a default Apache APISIX configuration using the default API key. Deployments with a changed admin key or a separate Admin API port have reduced impact but may still permit bypass of data-panel IP restrictions. Apache APISIX CVE-2022-24112 has been identified among vulnerabilities exploited by PRC state-sponsored cyber actors.
Mitigation
If you can’t patch tonight, do this now.
Replace the default admin API key and configure the Admin API on a port different from the data panel. These changes reduce impact but do not eliminate the residual risk of bypassing data-panel IP restrictions.
Remediation
Patch, then assume compromise.
Update Apache APISIX to a release that fixes CVE-2022-24112, prioritizing remediation because the vulnerability has been exploited. A specific fixed release is not identified in the available information.
Exploits
6 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-24112 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 25, 2022.
- Is there a public exploit for CVE-2022-24112?
- Yes. Mallory tracks 6 public exploits or proofs of concept for CVE-2022-24112, the earliest disclosed Dec 7, 2020.
- Is there a patch for CVE-2022-24112?
- Update Apache APISIX to a release that fixes CVE-2022-24112, prioritizing remediation because the vulnerability has been exploited. A specific fixed release is not identified in the available information.
- What products are affected by CVE-2022-24112?
- Apache Software Foundation Apisix.
- How severe is CVE-2022-24112?
- CVE-2022-24112 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 96.1% (100th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.