CVE-2026-5795
Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables
Also known as GHSA-r7p8-xq5m-436c
Mitigation
- Upgrade org.eclipse.jetty.ee11:jetty-ee11-jaspi to one of 12.1.8, 12.0.34 (or later in the same release line).
- Upgrade org.eclipse.jetty.ee10:jetty-ee10-jaspi to one of 12.1.8, 12.0.34 (or later in the same release line).
- Upgrade org.eclipse.jetty.ee9:jetty-ee9-jaspi to one of 12.1.8, 12.0.34 (or later in the same release line).
- Upgrade org.eclipse.jetty.ee8:jetty-ee8-jaspi to one of 12.1.8, 12.0.34 (or later in the same release line).
- Upgrade org.eclipse.jetty:jetty-jaspi to one of 11.0.29, 10.0.29, 9.4.61 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.eclipse.jetty.ee11:jetty-ee11-jaspi (>= 12.1.0, < 12.1.8)
- Projects that depend on Maven package org.eclipse.jetty.ee10:jetty-ee10-jaspi (>= 12.1.0, < 12.1.8)
- Projects that depend on Maven package org.eclipse.jetty.ee9:jetty-ee9-jaspi (>= 12.1.0, < 12.1.8)
- Projects that depend on Maven package org.eclipse.jetty.ee8:jetty-ee8-jaspi (>= 12.1.0, < 12.1.8)
- Projects that depend on Maven package org.eclipse.jetty:jetty-jaspi (>= 11.0.0, < 11.0.29)
- Anyone running Eclipse Foundation Eclipse Jetty >= 12.1.0, <= 12.1.7; >= 12.0.0, <= 12.0.33; >= 11.0.0, <= 11.0.28; >= 10.0.0, <= 10.0.28; >= 9.4.0, <= 9.4.60
Vulnerability facts
- Affected
- org.eclipse.jetty.ee11:jetty-ee11-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty.ee10:jetty-ee10-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty.ee9:jetty-ee9-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty.ee8:jetty-ee8-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty:jetty-jaspi >= 11.0.0, < 11.0.29
- Fixed in
- 12.1.8, 12.0.34, 11.0.29, 10.0.29, 9.4.61
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.65% chance of exploitation in 30 days (percentile 46, 2026-11-26)
- CWE
- CWE-226, CWE-287
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.eclipse.jetty.ee11:jetty-ee11-jaspi | >= 12.1.0, < 12.1.8 | 12.1.8, 12.0.34 | osv |
| Maven org.eclipse.jetty.ee10:jetty-ee10-jaspi | >= 12.1.0, < 12.1.8 | 12.1.8, 12.0.34 | osv |
| Maven org.eclipse.jetty.ee9:jetty-ee9-jaspi | >= 12.1.0, < 12.1.8 | 12.1.8, 12.0.34 | osv |
| Maven org.eclipse.jetty.ee8:jetty-ee8-jaspi | >= 12.1.0, < 12.1.8 | 12.1.8, 12.0.34 | osv |
| Maven org.eclipse.jetty:jetty-jaspi | >= 11.0.0, < 11.0.29 | 11.0.29, 10.0.29, 9.4.61 | osv |
| Eclipse Foundation Eclipse Jetty | >= 12.1.0, <= 12.1.7; >= 12.0.0, <= 12.0.33; >= 11.0.0, <= 11.0.28; >= 10.0.0, <= 10.0.28; >= 9.4.0, <= 9.4.60 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-5795. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-5795.md Affected: org.eclipse.jetty.ee11:jetty-ee11-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty.ee10:jetty-ee10-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty.ee9:jetty-ee9-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty.ee8:jetty-ee8-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty:jetty-jaspi >= 11.0.0, < 11.0.29 Fixed in: 12.1.8, 12.0.34, 11.0.29, 10.0.29, 9.4.61 Steps: 1. Search this machine and project for org.eclipse.jetty.ee11:jetty-ee11-jaspi (Maven), org.eclipse.jetty.ee10:jetty-ee10-jaspi (Maven), org.eclipse.jetty.ee9:jetty-ee9-jaspi (Maven), org.eclipse.jetty.ee8:jetty-ee8-jaspi (Maven), org.eclipse.jetty:jetty-jaspi (Maven), Eclipse Foundation Eclipse Jetty: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436chttps://
- https://access.redhat.com/errata/RHSA-2026:25089
- https://access.redhat.com/errata/RHSA-2026:28573
- https://access.redhat.com/errata/RHSA-2026:17668
- https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436c
- https://nvd.nist.gov/vuln/detail/CVE-2026-5795
Other
- https://gitlab.eclipse.org/security/cve-assignment/-/issues/92
- 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
- https://github.com/jetty/jetty.project
- https://github.com/user-attachments/files/26118760/JaspiAuthenticator_Security_Report.pdf
FAQ
Is CVE-2026-5795 being exploited?
There is no confirmed exploitation: CVE-2026-5795 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-5795?
High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-5795?
org.eclipse.jetty.ee11:jetty-ee11-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty.ee10:jetty-ee10-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty.ee9:jetty-ee9-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty.ee8:jetty-ee8-jaspi >= 12.1.0, < 12.1.8; org.eclipse.jetty:jetty-jaspi >= 11.0.0, < 11.0.29.
Is there a fix for CVE-2026-5795?
Yes. Fixed in 12.1.8, 12.0.34, 11.0.29, 10.0.29, 9.4.61. Upgrade org.eclipse.jetty.ee11:jetty-ee11-jaspi to one of 12.1.8, 12.0.34 (or later in the same release line). Upgrade org.eclipse.jetty.ee10:jetty-ee10-jaspi to one of 12.1.8, 12.0.34 (or later in the same release line). Upgrade org.eclipse.jetty.ee9:jetty-ee9-jaspi to one of 12.1.8, 12.0.34 (or later in the same release line). Upgrade org.eclipse.jetty.ee8:jetty-ee8-jaspi to one of 12.1.8, 12.0.34 (or later in the same release line). Upgrade org.eclipse.jetty:jetty-jaspi to one of 11.0.29, 10.0.29, 9.4.61 (or later in the same release line).
How do I check if I'm affected by CVE-2026-5795?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.