Skip to main content

Apache APISIX CVE-2026-49871

| EUVDEUVD-2026-38025 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-06-19 apache GHSA-rrqp-g94p-gmh7
2.1
CVSS 4.0 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Attacker obtains victim's APISIX CAS-auth endpoint details
  2. Delivery
    Craft malicious webpage with CSRF payload targeting CAS callback
  3. Exploit
    Socially engineer victim to visit attacker-controlled page
  4. Execution
    Victim's browser triggers CAS authentication redirect
  5. Persist
    APISIX completes auth handshake under attacker's identity
  6. Impact
    Victim's subsequent API gateway actions attributed to attacker's account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires Apache APISIX 3.0.0-3.16.0 with the cas-auth plugin enabled under its default configuration - deployments using other authentication plugins (jwt-auth, key-auth, basic-auth, etc.) are not affected. The victim must be an APISIX user who actively visits an attacker-controlled webpage during or proximate to a CAS authentication flow; this active user interaction (UI:A in CVSS 4.0) is a hard prerequisite. The AT:P condition in the CVSS 4.0 vector indicates the attacker must successfully socially engineer this visit, which is a meaningful constraint. The attack has no direct confidentiality, integrity, or availability impact on the APISIX gateway itself; impact is limited to subsequent systems that rely on APISIX-asserted identity claims (SC:L/SI:L). Exploitation cannot be automated without user interaction and is therefore not trivially scalable.

Impact

The CVSS 4.0 score of 2.1 (AV:N/AC:L/AT:P/PR:N/UI:A) is low and accurately reflects constrained real-world impact. The AT:P metric indicates specific attack prerequisites must align - notably, the attacker must direct the victim to a controlled page during or around a CAS authentication event. Active user interaction (UI:A) is a hard requirement. Direct impact on the vulnerable APISIX system is zero (VC:N/VI:N/VA:N); the only measurable consequence is low confidentiality and integrity impact on subsequent systems (SC:L/SI:L) - i.e., downstream services consuming APISIX-authenticated identity claims. No EPSS score was provided in the input, and there is no CISA KEV listing or known POC, making this a low-urgency advisory. However, risk scales upward in environments where APISIX-authenticated identity drives access decisions or audit accountability for sensitive downstream APIs. The absence of EPSS data limits probabilistic exploitation assessment.

Exploit ScenarioDerived

An attacker crafts a webpage containing a hidden cross-origin request that triggers or redirects a CAS authentication callback targeting the victim's APISIX gateway instance. When the victim - who has the cas-auth plugin active and is susceptible to a CAS redirect - visits this page, their browser completes the CAS handshake and APISIX authenticates the session under the attacker's identity. The victim then unknowingly performs API operations through the gateway that are logged, billed, rate-limited, or access-controlled as the attacker's account. No public exploit code is known at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 19, 2026

The cas-auth plugin in Apache APISIX 3.0.0-3.16.0 enables identity substitution via CSRF under its default configuration. An attacker who lures a victim to an attacker-controlled webpage can cause the victim's browser to complete a CAS authentication handshake as the attacker's identity within the APISIX gateway. Subsequent API gateway actions performed by the victim are then recorded and authorized under the attacker's account, creating audit trail corruption and potential authorization abuse. No public exploit code exists and this CVE is not listed in CISA KEV at time of analysis.

RemediationAI

The primary remediation is to upgrade Apache APISIX to version 3.17.0, which resolves the CSRF flaw in the cas-auth plugin, as confirmed by the Apache Software Foundation advisory at https://lists.apache.org/thread/1ozsnss0lof4gpwq763d66oxwxt3sycp. If an immediate upgrade is not operationally feasible, disabling the cas-auth plugin and substituting an alternative authentication plugin (such as key-auth or jwt-auth) eliminates the vulnerable code path, though it will break CAS/SSO workflows for end users. A secondary compensating control is to enforce a CSRF-protective state parameter in the CAS redirect flow via APISIX's custom plugin or middleware layer; this requires development effort and testing before deployment. Network-layer restrictions that limit which origins can initiate authentication callbacks to APISIX may reduce exposure but are not a complete mitigation given the browser-side nature of CSRF.

Affected VersionsENISA

Apache APISIX 3.0.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, cloud-native API gateway built on OpenResty/NGINX, widely used as an ingress and API management layer. The cas-auth plugin integrates CAS (Central Authentication Service) single sign-on into APISIX's authentication pipeline. CWE-352 (Cross-Site Request Forgery) manifests here because the CAS callback or redirect flow processed by the plugin does not validate that the authentication request originated from the legitimate user's own session - there is no CSRF token or state parameter check protecting the CAS redirect. This allows a third-party webpage to trigger or co-opt the CAS handshake in the victim's browser context. The affected CPE is cpe:2.3:a:apache_software_foundation:apache_apisix:*:*:*:*:*:*:*:*, covering versions 3.0.0 through 3.16.0.

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 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 3.4 LOW

Victim must actively visit attacker's page during a CAS flow (AC:H, UI:R); only downstream identity integrity is affected, triggering scope change (S:C, I:L).

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

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

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

DescriptionCVE.org

Cross-Site Request Forgery (CSRF) vulnerability in the cas-auth plugin under default configurations.

This defect allows a remote attacker that manages to send a victim to a webpage controlled by them can cause the victim's browser to become authenticated as a different identity.

Actions the victim takes upstream are then attributed to attackers identity.

This issue affects Apache APISIX: from 3.0.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.2%
Top 87% 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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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