Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Specific forward-auth plugin configuration required maps to AC:H; impact is on backend systems not APISIX itself (S:C); no availability impact confirmed by description.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Improper Input Validation vulnerability in Apache APISIX.
The attacker can take advantage of certain configuration in forward-auth plugin to spoof identity headers. This issue affects Apache APISIX: from 2.12.0 through 3.16.0.
Users are recommended to upgrade to version 3.17.0, which fixes the issue.
AnalysisAI
Identity header spoofing in Apache APISIX versions 2.12.0 through 3.16.0 allows a low-privileged network attacker to manipulate header values forwarded by the forward-auth plugin to upstream backend services. The flaw, rooted in improper input validation (CWE-20) of the forward-auth plugin's header handling, enables an attacker to impersonate other identities as seen by backend services that rely on APISIX to assert trustworthy identity context. No active exploitation is confirmed in CISA KEV and no public proof-of-concept has been identified, but the CVSS 4.0 subsequent-system impact metrics (SC:H/SI:H/SA:H) signal that backend services face high-severity consequences if exploited.
Technical ContextAI
Apache APISIX is an open-source, high-performance API gateway that proxies HTTP traffic and applies plugins - including authentication delegation - at the route level. The forward-auth plugin works by forwarding incoming client requests to an external authorization service; headers returned by that service (typically identity assertions such as X-User-ID or X-Forwarded-User) are then relayed to upstream backends, which treat them as authoritative identity claims. CWE-20 (Improper Input Validation) identifies the root cause: APISIX fails to adequately sanitize or validate these header values under certain plugin configurations, permitting an attacker to inject or override identity-bearing headers before they reach backends. The affected CPE is cpe:2.3:a:apache_software_foundation:apache_apisix:*:*:*:*:*:*:*:* spanning versions 2.12.0 through 3.16.0. Critically, the CVSS 4.0 vector records zero impact on the vulnerable APISIX system itself (VC:N/VI:N/VA:N) while registering maximum subsequent-system impact (SC:H/SI:H/SA:H), which is architecturally consistent with a gateway-level flaw whose damage is realized in the trusting backends rather than the gateway itself.
RemediationAI
Upgrade Apache APISIX to version 3.17.0, the vendor-confirmed fix release, as documented in the Apache security advisory at https://lists.apache.org/thread/vgkvy396010d7g6m0jrn4d3hjf2svlvw. If immediate upgrade is not possible, the most effective compensating control is to disable the forward-auth plugin on all routes until patching is complete - note this removes external auth delegation and requires a fallback authentication mechanism. A narrower alternative is to configure the forward-auth plugin to forward only an explicit allowlist of headers to upstream services rather than relaying arbitrary auth-service headers, which reduces the spoofable header surface while preserving plugin functionality; however, the specific configuration that triggers the vulnerability is not fully enumerated in available data, so consult the advisory before relying on this as a complete mitigation. Additionally, backend services should be reviewed to confirm they do not unconditionally trust identity headers without independent validation, providing defense-in-depth regardless of patch timing.
More in Apache Apisix
View allHeader injection in Apache APISIX 2.12.0 through 3.15.0 lets remote attackers smuggle attacker-controlled HTTP headers t
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
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
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 weakness CWE-20 – Improper Input Validation
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38011
GHSA-86hq-f9pp-3cr9