Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify APISIX route using forward-auth
-
DeliverySend request with crafted malicious headers
-
ExploitPlugin forwards injected headers to auth service
-
ExecutionAuth decision spoofed / bypassed
-
ImpactGain unauthorized access to backend
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Failure to sanitize special elements
|
| Exploitation Conditions | Exploitation requires the target APISIX instance to have the forward-auth plugin enabled and configured to forward client-supplied request headers to an external authentication service - this specific plugin configuration IS the prerequisite named in the advisory ('certain configuration in forward-auth plugin'). Deployments that do not use forward-auth, or that forward only a minimal fixed header set, are not exposed. Per the CVSS vector (PR:N/UI:N) no authentication or user interaction is required against a vulnerable configuration, and the attack is network-reachable and automatable, but the non-default plugin configuration is the primary factor limiting real-world exploitability. |
| Impact | Signals conflict and must be weighed carefully. The vendor CVSS of 9.1 (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:N) implies trivially exploitable, unauthenticated network attack with high confidentiality and integrity impact, and SSVC agrees the technical impact is total and the attack is automatable. However, EPSS is only 0.03% (8th percentile), SSVC exploitation status is 'none', there is no CISA KEV listing and no known public exploit - so real-world exploitation pressure is currently low. Critically, the description states the flaw is reachable only through 'certain configuration in forward-auth plugin,' meaning the raw AV:N/AC:L/PR:N vector likely overstates exposure: exploitation depends on an operator having enabled and configured forward-auth in a vulnerable way, which is a real limiting factor not reflected in the base score. Net assessment: a legitimately high-impact bug worth patching promptly for anyone using forward-auth, but not a broad emergency for deployments that do not use that plugin. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP request to an APISIX route protected by the forward-auth plugin, embedding malicious or duplicate headers that the plugin forwards to the external auth service. The injected headers spoof a trusted identity or authorization decision, causing the auth service or backend to grant access the attacker should not have. No public proof-of-concept is currently identified, but the low attack complexity and automatable nature make weaponization straightforward if forward-auth is in use. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Header injection in Apache APISIX 2.12.0 through 3.15.0 lets remote attackers smuggle attacker-controlled HTTP headers through the forward-auth plugin when it is configured to relay client headers to an external authentication service. Because injected headers can spoof identity or authorization data trusted by the upstream auth endpoint, this can lead to authentication bypass or privilege escalation. There is no public exploit identified at time of analysis and EPSS is very low (0.03%), but CISA's SSVC framework rates the technical impact as total and the attack as automatable.
RemediationAI
Vendor-released patch: Apache APISIX 3.16.0 - upgrade to 3.16.0 or later, which fixes the header-sanitization issue in the forward-auth plugin. If immediate upgrade is not possible, the most direct compensating control is to disable the forward-auth plugin, or reconfigure it to stop forwarding attacker-controllable request headers to the upstream auth service (restrict the request_headers/allowed-headers list to a minimal known-safe set and do not blindly trust client-supplied auth headers); the trade-off is loss of the forward-auth authorization workflow or of specific header pass-through behavior. Additionally, harden the upstream authentication service to independently validate identity rather than trusting gateway-forwarded headers. Refer to the Apache advisory at https://lists.apache.org/thread/sob643s5lztov7x579j8o0c444t36n6b for authoritative guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache APISIX is a CNCF cloud-native, dynamic API gateway built on OpenResty/NGINX and Lua. The affected component is the forward-auth plugin, which delegates request authorization by forwarding selected client request headers to an external authentication service and then honoring that service's response headers. The root cause maps to CWE-75 (failure to sanitize special elements into a different plane / special-element injection): the plugin does not adequately sanitize or isolate certain header values, so an attacker can inject or override headers that the upstream auth service or backend trusts. The single CPE provided (cpe:2.3:a:apache_software_foundation:apache_apisix) confirms the affected product is the core APISIX gateway rather than a downstream distribution or plugin package.
Know when Apache Apisix gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because exploitation depends on a specific non-default forward-auth configuration; high confidentiality/integrity impact via auth bypass, no availability impact.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Header injection vulnerability in Apache APISIX.
The attacker can take advantage of certain configuration in forward-auth plugin to inject malicious headers. This issue affects Apache APISIX: from 2.12.0 through 3.15.0.
Users are recommended to upgrade to version 3.16.0, which fixes the issue.
Executive ViewAI
Apache APISIX versions 2.12.0 through 3.15.0 contain a critical header injection vulnerability in the forward-auth plugin that enables remote attackers to bypass authentication controls and escalate privileges without valid credentials. Organizations running affected versions with this plugin active face immediate risk of unauthorized access to protected services and customer data.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable client header relay in forward-auth plugin configuration; (2) Implement strict input validation on the external authentication service to reject unexpected or malformed headers; (3) Deploy Web Application Firewall rules to detect and block header injection attack patterns; (4) Enable comprehensive audit logging of all authentication requests including header payloads; (5) Restrict network access to the authentication service endpoint to trusted APISIX instances only; (6) If operationally feasible, disable the forward-auth plugin entirely until a patch is available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
More in Apache Apisix
View allUnauthenticated remote denial of service in Apache APISIX 1.3.0 through 3.18.0 allows an attacker to exhaust gateway wor
Authentication bypass in Apache APISIX 3.18.0 through 3.19.0 can let unauthenticated clients have attacker-supplied valu
Sensitive authentication tokens in Apache APISIX OpenID Connect plugin transmit in cleartext when connecting to identity
Authentication bypass in Apache APISIX versions 2.2 through 3.16.0 allows remote attackers to circumvent authentication
Unauthenticated route-level authorization bypass in Apache APISIX 0.9 through 3.19.0 allows a client to reach upstream p
Apache APISIX 3.19.0 can be made to proxy requests to upstream endpoints that the MCP OpenAPI document never declared, w
In Apache APISIX 3.8.0 through 3.19.0, a route configured with the multi-auth plugin that falls back from wolf-rbac to a
Authenticated authorization bypass in Apache APISIX 1.4.0 through 3.19.0 allows a user who holds only one of a route's r
Signature verification failure in the Apache APISIX saml-auth plugin (versions 3.17.0 through 3.18.0) allows an attacker
HMAC authentication replay in Apache APISIX 3.11.0 through 3.16.0 permits remote attackers who have captured a valid hma
Apache APISIX 3.18.0 through 3.19.0 can let a client without a certificate reach an upstream behind an mTLS-protected ro
Authentication bypass in Apache APISIX's jwe-decrypt plugin (versions 3.8.0 through 3.16.0) allows unauthenticated netwo
EUVD-2026-22225
GHSA-jv22-34xc-w9x6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB