Skip to main content

Apache APISIX CVE-2026-39998

| EUVDEUVD-2026-38011 MEDIUM
Improper Input Validation (CWE-20)
2026-06-19 apache GHSA-86hq-f9pp-3cr9
5.8
CVSS 4.0 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Authenticate or obtain low-privilege route access
  2. Delivery
    Identify APISIX route using forward-auth plugin
  3. Exploit
    Craft HTTP request with injected identity headers
  4. Execution
    APISIX fails to validate/sanitize headers
  5. Persist
    Spoofed headers relayed to upstream backend
  6. Impact
    Backend grants elevated access based on forged identity claims

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires Apache APISIX version 2.12.0-3.16.0 with the forward-auth plugin enabled on at least one route and configured in a way that permits header spoofing (described as 'certain configuration' by the vendor but not enumerated in publicly available data - consult https://lists.apache.org/thread/vgkvy396010d7g6m0jrn4d3hjf2svlvv for specifics). The CVSS 4.0 PR:L metric confirms the attacker must have at least low-level authenticated access or the ability to send requests through the affected route. The AT:P metric (Attack Target: Presence) confirms a non-default or specific plugin configuration is a mandatory prerequisite - deployments not using forward-auth are entirely unaffected. Limiting factors: low-privilege credential or route access requirement, specific forward-auth plugin configuration dependency, and backend services with their own independent identity validation are not meaningfully harmed even if headers are spoofed.

Impact

The aggregate CVSS 4.0 score of 5.8 understates the downstream blast radius: subsequent-system metrics of SC:H/SI:H/SA:H indicate that any backend service relying on APISIX's forward-auth headers for access control faces high-severity confidentiality, integrity, and availability exposure if this vulnerability is exploited. The AT:P (Attack Target: Presence) metric is the single most important limiting factor - exploitation is conditioned on a specific forward-auth plugin configuration being active; deployments not using this plugin, or using it without the triggering configuration, are unaffected. PR:L confirms that some level of authenticated or routed access is needed, ruling out fully anonymous exploitation. No EPSS data was provided in available intelligence, and this CVE is not in CISA KEV, indicating no confirmed in-the-wild exploitation at time of analysis. Comparing signals: the high subsequent-system impact argues for prompt patching in any environment using forward-auth; the AT:P and PR:L constraints, combined with no KEV/POC, mean this is a genuine priority for affected configurations but not a drop-everything emergency for organizations not using forward-auth. Note that the vendor's SA:H rating (availability impact on subsequent systems) is plausible if impersonated credentials can trigger destructive backend operations, but the CVE description does not explicitly confirm an availability vector - treat SA as uncertain.

Exploit ScenarioDerived

An attacker with low-privilege access to an APISIX route protected by the forward-auth plugin sends crafted HTTP requests containing manipulated header values that exploit the plugin's failure to validate input. APISIX forwards the spoofed identity headers to the upstream backend service, which treats them as authoritative assertions from the authentication layer and grants the attacker access to resources or permissions belonging to another user or role. No public proof-of-concept code has been identified, but the technique - HTTP header injection through a misconfigured API gateway - is well-understood and mechanically straightforward for practitioners familiar with API gateway security.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 19, 2026

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.

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.

Affected VersionsENISA

Apache APISIX 2.12.0 ≤3.16.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 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.

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 5.8 MEDIUM
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
vuln.today AI 8.2 HIGH

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.

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

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

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

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-31908 CRITICAL
9.1 Apr 14

Header injection in Apache APISIX 2.12.0 through 3.15.0 lets remote attackers smuggle attacker-controlled HTTP headers t

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

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