CVE-2026-141313: Higress 2.0.0 before 2.2.4 jwt-auth Plugin Authentication Bypass via Malformed Cookie
Higress 2.0.0 before 2.2.4 contains an authentication bypass vulnerability in the Go jwt-auth Wasm plugin that allows remote unauthenticated attackers to reach JWT-protected routes via a malformed Cookie header. Attackers can send the configured cookie name without an equals sign, triggering an index-out-of-range panic in findCookie that returns ActionContinue so Envoy forwards the request upstream.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.2.4
Event History
Frequently Asked Questions
Which deployments are exposed to this bypass?
Higress versions 2.0.0 through before 2.2.4 are affected when the Go jwt-auth Wasm plugin protects routes using JWT authentication and is configured to extract a token from a cookie.
What does an attacker need to send to exploit it?
The attacker needs network access to the affected Higress endpoint and must send a malformed Cookie header containing the configured cookie name without an equals sign. No authentication or user interaction is required.
What is the practical impact of successful exploitation?
The malformed cookie triggers an index-out-of-range panic in findCookie, after which the plugin returns ActionContinue. Envoy can then forward the request upstream despite the route being JWT-protected.
How can I tell whether a route is vulnerable?
Review jwt-auth plugin configuration for routes that obtain JWTs from cookies, then test whether a Cookie header containing the configured cookie name with no equals sign causes the request to be forwarded upstream. Deployments running 2.2.4 or later include the referenced fix.
What can be done if an immediate upgrade is not possible?
Avoid relying on cookie-based JWT extraction for protected routes, or filter malformed Cookie headers before they reach Higress. In particular, reject headers that contain the configured JWT cookie name without an equals sign.