high7.4
CVE-2026-5795
In Eclipse Jetty, the class JASPIAuthenticator initiates the authentication checks, which set two ThreadLocal variable.
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.eclipse.jetty.ee11:jetty-ee11-jaspi | >= 12.1.0, <= 12.1.7 | 12.1.8 |
| maven | org.eclipse.jetty.ee10:jetty-ee10-jaspi | >= 12.1.0, <= 12.1.7 | 12.1.8 |
| maven | org.eclipse.jetty.ee9:jetty-ee9-jaspi | >= 12.1.0, <= 12.1.7 | 12.1.8 |
| maven | org.eclipse.jetty.ee8:jetty-ee8-jaspi | >= 12.1.0, <= 12.1.7 | 12.1.8 |
| maven | org.eclipse.jetty:jetty-jaspi | >= 11.0.0, <= 11.0.28 | 11.0.29 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Eclipse | Jetty | from 9.4.0 through 9.4.58 from 10.0.0 through 10.0.26 from 11.0.0 through 11.0.26 from 12.0.0 before 12.0.34 from 12.1.0 before 12.1.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-r7p8-xq5m-436c
- https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436c
- https://nvd.nist.gov/vuln/detail/CVE-2026-5795
- https://github.com/user-attachments/files/26118760/JaspiAuthenticator_Security_Report.pdf
- https://gitlab.eclipse.org/security/cve-assignment/-/issues/92
- https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436chttps://
- https://access.redhat.com/errata/RHSA-2026:17668
- https://access.redhat.com/errata/RHSA-2026:25089
- https://access.redhat.com/errata/RHSA-2026:28573
- https://access.redhat.com/security/cve/CVE-2026-5795
- https://bugzilla.redhat.com/show_bug.cgi?id=2456519
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5795.json