Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/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
Network-reachable bypass requiring a specific jwt-auth config (AC:H) with no auth or interaction; scope changes to backend (S:C) yielding high confidentiality and integrity impact, no availability effect.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Authentication Bypass by Spoofing vulnerability in Apache APISIX.
The attacker can completely bypass authentication capitalising on certain configurations of jwt-auth plugin. This issue affects Apache APISIX: from v2.2 through v3.16.0.
Users are recommended to upgrade to version v3.17.0, which fixes the issue.
AnalysisAI
Authentication bypass in Apache APISIX versions 2.2 through 3.16.0 allows remote attackers to circumvent authentication enforced by the jwt-auth plugin under certain configurations, granting unauthorized access to APIs that should require a valid JWT. The flaw stems from spoofable identity assertions (CWE-290) in the plugin's verification logic, and at time of analysis there is no public exploit identified, but the wide affected version range and gateway role make it operationally significant.
Technical ContextAI
Apache APISIX is a cloud-native, dynamic API gateway built on OpenResty/Nginx and Lua that brokers traffic to upstream services and enforces cross-cutting concerns such as authentication, rate limiting, and observability via a pluggable architecture. The jwt-auth plugin is responsible for validating JSON Web Tokens presented by clients before requests are proxied; per CWE-290 (Authentication Bypass by Spoofing), the issue likely arises from the plugin trusting attacker-controllable token claims or header fields rather than cryptographically binding the request to a verified consumer, which can occur when certain configuration options (for example permissive algorithm handling or consumer-claim mapping) are enabled. The CPE cpe:2.3:a:apache_software_foundation:apache_apisix:*:*:*:*:*:*:*:* covers all APISIX builds, but the description narrows real exposure to deployments that actually use jwt-auth with the vulnerable configuration shape.
RemediationAI
Vendor-released patch: Apache APISIX v3.17.0 - upgrade all gateway instances per the Apache advisory at https://lists.apache.org/thread/nfopt8cnxd3k0rs1oxtr7lzxrdw4mojq. Until upgrade is possible, audit every route that references the jwt-auth plugin and compare its configuration against the patched defaults: explicitly pin the expected signing algorithm (avoid permitting 'none' or asymmetric/symmetric algorithm confusion), require a fixed key/secret per consumer rather than client-controllable kid lookups, and remove any custom claim-to-consumer mapping that trusts request-supplied identifiers; the trade-off is that tightening these settings may break clients that relied on the lax behavior and will require coordinated rotation. As a compensating control, place an upstream WAF or mTLS check in front of jwt-auth-protected routes so that authentication does not solely depend on the vulnerable plugin, accepting the added latency and operational complexity.
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
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
Identity header spoofing in Apache APISIX versions 2.12.0 through 3.16.0 allows a low-privileged network attacker to man
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-290 – Authentication Bypass by Spoofing
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38013
GHSA-pw26-hvcp-w6vj