Skip to main content

Apache APISIX CVE-2026-31908

| EUVDEUVD-2026-22225 CRITICAL
Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) (CWE-75)
2026-04-14 apache GHSA-jv22-34xc-w9x6
9.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Analysis Generated
Jul 24, 2026 - 07:43 vuln.today
CVSS changed
Apr 16, 2026 - 13:22 NVD
9.1 (CRITICAL)
EUVD ID Assigned
Apr 14, 2026 - 08:30 euvd
EUVD-2026-22225
CVE Published
Apr 14, 2026 - 08:06 nvd
CRITICAL 9.1

DescriptionCVE.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.

CVE-2026-31923 HIGH
7.5 Apr 14

Sensitive authentication tokens in Apache APISIX OpenID Connect plugin transmit in cleartext when connecting to identity

CVE-2026-39999 HIGH
7.0 Jun 19

Authentication bypass in Apache APISIX versions 2.2 through 3.16.0 allows remote attackers to circumvent authentication

CVE-2026-47341 MEDIUM
6.3 Jun 19

HMAC authentication replay in Apache APISIX 3.11.0 through 3.16.0 permits remote attackers who have captured a valid hma

CVE-2026-49230 MEDIUM
6.3 Jun 19

Authentication bypass in Apache APISIX's jwe-decrypt plugin (versions 3.8.0 through 3.16.0) allows unauthenticated netwo

CVE-2026-39998 MEDIUM
5.8 Jun 19

Identity header spoofing in Apache APISIX versions 2.12.0 through 3.16.0 allows a low-privileged network attacker to man

CVE-2026-49872 MEDIUM
5.3 Jun 19

Authentication bypass in Apache APISIX 3.0.0 through 3.16.0 allows a network-accessible attacker holding valid credentia

CVE-2026-47339 MEDIUM
5.3 Jun 19

Incorrect authorization in the Apache APISIX authz-casdoor plugin allows a network-authenticated attacker to cross-authe

CVE-2026-44087 MEDIUM
5.3 Jun 19

Identity header spoofing in Apache APISIX's openid-connect plugin (versions 2.3 through 3.16.0) enables low-privileged n

CVE-2026-31924 MEDIUM
5.3 Apr 14

Apache APISIX 2.99.0 through 3.15.0 transmits sensitive log data in cleartext over HTTP when exporting logs to Tencent C

CVE-2026-49231 LOW
2.3 Jun 19

Identity header spoofing in the Apache APISIX OPA (Open Policy Agent) plugin allows low-privileged network attackers to

CVE-2026-44046 LOW
2.3 Jun 19

The wolf-rbac plugin in Apache APISIX 1.2.0 through 3.16.0 trusts client-controlled identity and IP data under its defau

CVE-2026-48895 LOW
2.1 Jun 19

Open redirect in Apache APISIX 3.0.0 through 3.16.0 enables unauthenticated remote attackers to manipulate specific HTTP

Share

CVE-2026-31908 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy