CVE-2022-24112
Apache APISIX vulnerability analysis and mitigation

Overview

CVE-2022-24112 is a critical authentication bypass vulnerability affecting Apache APISIX, discovered in February 2022. The vulnerability allows attackers to abuse the batch-requests plugin to bypass IP restrictions of the Admin API. In default configurations with the default API key, this vulnerability can lead to remote code execution. The vulnerability affects Apache APISIX versions up to 2.10.4 and versions from 2.11.0 up to 2.12.1 (NVD, OSS Security).

Technical details

The vulnerability exists due to a bug in the batch-requests plugin's code that allows bypassing the check which normally overrides the client IP with its real remote IP. This bypass enables attackers to send requests that circumvent IP restrictions. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating its severe nature and potential for remote exploitation without requiring privileges or user interaction (NVD).

Impact

The impact varies depending on the configuration. In default configurations with the default API key, attackers can achieve remote code execution. Even when the admin key is changed or the Admin API port is modified, attackers can still potentially bypass IP restrictions of Apache APISIX's data panel. This vulnerability has been actively exploited in the wild and was added to CISA's Known Exploited Vulnerabilities Catalog (Hacker News).

Mitigation and workarounds

Two primary mitigation options are available: 1) Explicitly configure the enabled plugins in 'conf/config.yaml' and ensure 'batch-requests' is disabled (or comment out 'batch-requests' in 'conf/config-default.yaml'), or 2) Upgrade to version 2.10.4 or 2.12.1. CISA has mandated Federal Civilian Executive Branch agencies to apply updates according to vendor instructions by September 15, 2022 (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Apache APISIX vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-27446HIGH7.8
  • Apache APISIXApache APISIX
  • cpe:2.3:a:apache:apisix
NoYesJul 06, 2025
CVE-2025-62232HIGH7.5
  • Apache APISIXApache APISIX
  • cpe:2.3:a:apache:apisix
NoYesOct 31, 2025
CVE-2022-29266HIGH7.5
  • Apache APISIXApache APISIX
  • cpe:2.3:a:apache:apisix
NoYesApr 20, 2022
CVE-2024-32638MEDIUM6.3
  • Apache APISIXApache APISIX
  • cpe:2.3:a:apache:apisix
NoYesMay 02, 2024
CVE-2025-46647MEDIUM5.3
  • Apache APISIXApache APISIX
  • cpe:2.3:a:apache:apisix
NoYesJul 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management