CVE-2022-24112
CVE-2022-24112 is a critical-severity vulnerability in Apache Apisix with a CVSS 3.x base score of 9.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2022-08-25). The underlying weakness is classified as CWE-290.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 96% (100th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2022-08-25)
- EU (EUVD) id: EUVD-2022-29024
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2022-08-25)
- Weakness: CWE-290
- Affected product: Apache Apisix
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2022-24112?
- 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.
- How severe is CVE-2022-24112?
- CVE-2022-24112 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-24112 being actively exploited?
- Yes. CVE-2022-24112 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2022-08-25, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2022-24112?
- CVE-2022-24112 affects Apache Apisix. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-24112?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2022-24112 have an EU (EUVD) identifier?
- Yes. CVE-2022-24112 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2022-29024. It is also flagged as exploited in the EUVD (since 2022-08-25).
- When was CVE-2022-24112 published?
- CVE-2022-24112 was published on 2022-02-11 and last updated on 2026-06-17.
References
- 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
- http://www.openwall.com/lists/oss-security/2022/02/11/3
- https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112
Affected products (1)
- cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Apisix
- CVE-2022-25757 — Critical (CVSS 9.8): In Apache APISIX before 2.13.0, when decoding JSON with duplicate keys, lua-cjson will choose the last occurred value…
- CVE-2026-49871 — Critical (CVSS 9.3): Cross-Site Request Forgery (CSRF) vulnerability in the cas-auth plugin under default configurations. This defect…
- CVE-2026-49230 — Critical (CVSS 9.1): Improper Validation of Integrity Check Value vulnerability in Apache APISIX. The jwe-decrypt plugin under default…
- CVE-2026-44087 — Critical (CVSS 9.1): Insufficient Verification of Data Authenticity vulnerability in Apache APISIX. The openid-connect plugin under default…
- CVE-2026-39999 — Critical (CVSS 9.1): Authentication Bypass by Spoofing vulnerability in Apache APISIX. The attacker can completely bypass authentication…
- CVE-2026-31908 — Critical (CVSS 9.1): Header injection vulnerability in Apache APISIX. The attacker can take advantage of certain configuration in…
All CVEs affecting Apache Apisix →
Other CWE-290 vulnerabilities
- CVE-2026-48567 — Critical (CVSS 10.0): Authentication bypass by spoofing in Azure HorizonDB allows an unauthorized attacker to elevate privileges over a…
- CVE-2026-6213 — Critical (CVSS 10.0): A vulnerability in Remote Spark SparkView before build 1122 allows an attacker to bypasses the local connection check…
- CVE-2026-39858 — Critical (CVSS 10.0): Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a high…
- CVE-2025-66570 — Critical (CVSS 10.0): cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.27.0, a vulnerability…
- CVE-2025-34063 — Critical (CVSS 10.0): A cryptographic authentication bypass vulnerability exists in OneLogin AD Connector prior to 6.1.5 due to the exposure…
- CVE-2023-22814 — Critical (CVSS 10.0): An authentication bypass issue via spoofing was discovered in the token-based authentication mechanism that could allow…