Summary
CVE-2026-94250 is an allocation-of-resources-without-limits vulnerability (CWE-770) in the batch-requests plugin of Apache APISIX. An unauthenticated attacker can send requests to a publicly exposed batch endpoint and drive a gateway worker process into an out-of-memory condition, resulting in denial of service. The issue is rated HIGH severity with a CVSS v4.0 base score of 8.2.
Technical details
- Root cause: The batch-requests plugin aggregates multiple sub-requests into a single call but does not enforce limits or throttling on the resources allocated to process a batch, allowing unbounded memory consumption.
- Trigger conditions: A route must have the batch-requests plugin enabled, and its batch endpoint must be publicly/externally reachable.
- Attack vector: Network-based; no authentication, user interaction, or special privileges are required to send the triggering request.
- Impact: A crafted batch request can exhaust available memory on a gateway worker, crashing or degrading the worker process and causing a denial of service for traffic handled by APISIX.
Affected software
- Apache APISIX versions 1.3.0 through 3.18.0 (inclusive) when the batch-requests plugin is enabled on a publicly exposed route.
Severity
- CVSS v4.0 Base Score: 8.2 (High)
- Vector:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: Upgrade Apache APISIX to version 3.19.0 or later, which fixes this issue.
- If immediate patching is not possible:
- Disable the batch-requests plugin on routes where it is not required.
- Ensure batch-requests endpoints are not reachable from untrusted/public networks — restrict access to internal or trusted clients only via network controls (firewall rules, access control lists, or API gateway route restrictions).
- Monitor gateway worker memory usage and request patterns for anomalous batch request volume or size.

