CVE-2026-5795
HIGH7.4EPSS 0.03%Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables
Published: 4/8/2026Modified: 4/28/2026
Description
In Eclipse Jetty, the class JASPIAuthenticator initiates the authentication checks, which set two ThreadLocal variable. Upon returning from the initial checks, there are conditions that cause an early return from the JASPIAuthenticator code without clearing those ThreadLocals. A subsequent request using the same thread inherits the ThreadLocal values, leading to a broken access control and privilege escalation.
Affected packages (8)
- Debian/jetty12from 0
- Debian/jetty9from 0
- Maven/org.eclipse.jetty.ee10:jetty-ee10>= 12.1.0, < 12.1.7
- Maven/org.eclipse.jetty.ee10:jetty-ee10-jaspi>= 12.1.0, < 12.1.8
- Maven/org.eclipse.jetty.ee11:jetty-ee11-jaspi>= 12.1.0, < 12.1.8
- Maven/org.eclipse.jetty.ee8:jetty-ee8-jaspi>= 12.1.0, < 12.1.8
- Maven/org.eclipse.jetty.ee9:jetty-ee9-jaspi>= 12.1.0, < 12.1.8
- Maven/org.eclipse.jetty:jetty-jaspi>= 11.0.0, < 11.0.29
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-5795
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-5795
- PATCHhttps://github.com/jetty/jetty.project
- WEBhttps://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436c
- WEBhttps://github.com/user-attachments/files/26118760/JaspiAuthenticator_Security_Report.pdf
- WEBhttps://gitlab.eclipse.org/security/cve-assignment/-/issues/92