Skip to main content

Apache APISIX EUVDEUVD-2026-22225

| CVE-2026-31908 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 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify APISIX route using forward-auth
  2. Delivery
    Send request with crafted malicious headers
  3. Exploit
    Plugin forwards injected headers to auth service
  4. Execution
    Auth decision spoofed / bypassed
  5. Impact
    Gain 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache APISIX 2.12.0 ≤3.15.0

Affected Packages

euvd apache_apisix no fix

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

Vendor (apache) 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 Vendor (apache).

CVSS VectorVendor: apache

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

Lifecycle Timeline

2
CVSS changed
Apr 16, 2026 - 13:22 NVD
9.1 (CRITICAL)
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.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Medium
popular CNCF cloud-native API gateway, but forward-auth is optional
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2026-94250 HIGH
8.2 Oct 01

Unauthenticated remote denial of service in Apache APISIX 1.3.0 through 3.18.0 allows an attacker to exhaust gateway wor

CVE-2026-124679 HIGH
7.8 Nov 13

Authentication bypass in Apache APISIX 3.18.0 through 3.19.0 can let unauthenticated clients have attacker-supplied valu

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-124680 HIGH
7.0 Nov 13

Unauthenticated route-level authorization bypass in Apache APISIX 0.9 through 3.19.0 allows a client to reach upstream p

CVE-2026-124726 MEDIUM
6.9 Nov 13

Apache APISIX 3.19.0 can be made to proxy requests to upstream endpoints that the MCP OpenAPI document never declared, w

CVE-2026-124666 MEDIUM
6.4 Nov 13

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

CVE-2026-124716 MEDIUM
6.4 Nov 13

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

CVE-2026-94212 MEDIUM
6.4 Oct 01

Signature verification failure in the Apache APISIX saml-auth plugin (versions 3.17.0 through 3.18.0) allows an attacker

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-124723 MEDIUM
6.3 Nov 13

Apache APISIX 3.18.0 through 3.19.0 can let a client without a certificate reach an upstream behind an mTLS-protected ro

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

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