---
id: "CVE-2022-24112"
kind: "vulnerability"
aliases: ["CVE-2022-24112"]
title: "apache apisix: An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API"
severity: "critical"
cvss: 9.8
epss: 0.96069
exploited: true
status: "open"
category: "package"
products: [{"name": "apache apisix", "fixed": ["2.10.4"], "affected": "< 2.10.4", "ecosystem": "vendor"}, {"name": "apache apisix", "fixed": ["2.12.1"], "affected": ">= 2.11.0, < 2.12.1", "ecosystem": "vendor"}, {"name": "Apache APISIX", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["apache-apisix", "api-gateway", "exploited", "package", "self-hosted"]
not_affected_if: ["default-config"]
published_at: "2022-02-11T13:15:08+00:00"
first_seen_at: "2026-10-23T19:11:52+00:00"
updated_at: "2026-10-24T00:09:51+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-24112", "first_seen_at": "2026-10-23T19:11:52+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24112", "first_seen_at": "2026-10-23T19:13:45+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24112", "first_seen_at": "2026-10-23T22:29:04+00:00"}]
---

# apache apisix: An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API

Apache APISIX, an API gateway, has an authentication bypass in its Admin API plugin handling that lets remote attackers skip auth. The sources say it allows remote code execution, and CISA lists it as exploited in the wild.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:apache apisix affected < 2.10.4 fixed 2.10.4
- vendor:apache apisix affected >= 2.11.0, < 2.12.1 fixed 2.12.1
- vendor:Apache APISIX affected ? fixed ?

## How to check

Check the deployed APISIX version (apisix version) and compare it to the fixed release in the Apache advisory.

## Fix

Upgrade Apache APISIX to a fixed release per the vendor instructions, then rotate the Admin API key.

## Timeline

- 2026-10-23T19:11:52+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-24112
- 2026-10-23T19:13:45+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2022-24112
- 2026-10-23T22:29:04+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2022-24112

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
