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 NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
More in Apache Apisix
View allSensitive 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
HMAC authentication replay in Apache APISIX 3.11.0 through 3.16.0 permits remote attackers who have captured a valid hma
Authentication bypass in Apache APISIX's jwe-decrypt plugin (versions 3.8.0 through 3.16.0) allows unauthenticated netwo
Identity header spoofing in Apache APISIX versions 2.12.0 through 3.16.0 allows a low-privileged network attacker to man
Authentication bypass in Apache APISIX 3.0.0 through 3.16.0 allows a network-accessible attacker holding valid credentia
Incorrect authorization in the Apache APISIX authz-casdoor plugin allows a network-authenticated attacker to cross-authe
Identity header spoofing in Apache APISIX's openid-connect plugin (versions 2.3 through 3.16.0) enables low-privileged n
Apache APISIX 2.99.0 through 3.15.0 transmits sensitive log data in cleartext over HTTP when exporting logs to Tencent C
Identity header spoofing in the Apache APISIX OPA (Open Policy Agent) plugin allows low-privileged network attackers to
The wolf-rbac plugin in Apache APISIX 1.2.0 through 3.16.0 trusts client-controlled identity and IP data under its defau
Open redirect in Apache APISIX 3.0.0 through 3.16.0 enables unauthenticated remote attackers to manipulate specific HTTP
Same technique Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-22225
GHSA-jv22-34xc-w9x6