CVE-2026-5795: CWE-226 Sensitive information in resource not removed before reuse in Eclipse Foundation Eclipse Jetty
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.
AI Analysis
Technical Summary
In Eclipse Jetty, the JASPIAuthenticator class sets two ThreadLocal variables to store authentication state during authentication checks. Under certain conditions, the authentication process returns early without clearing these ThreadLocal variables. As a result, a subsequent request processed on the same recycled thread inherits the un-cleared ThreadLocal values. This leads to broken access control, authentication bypass, privilege escalation, and potential data breaches. The vulnerability requires the reuse of the exact same thread for a subsequent request, increasing exploitation complexity. Red Hat has rated this vulnerability as important and advises updating the affected package as soon as possible. No practical mitigation other than patching is currently available.
Potential Impact
The vulnerability allows broken access control and privilege escalation due to authentication state leakage via un-cleared ThreadLocal variables. This can lead to authentication bypass and data breaches if a subsequent request reuses the same thread. However, exploitation complexity is high because it requires thread reuse. There are no known exploits in the wild. The CVSS v3.1 base score is 7.4 (High), reflecting high confidentiality and integrity impact but no availability impact.
Mitigation Recommendations
A fix is available and users are advised to update to a patched version of Eclipse Jetty as soon as possible. No practical mitigation other than patching has been identified by the vendor. Users should monitor vendor advisories for updates and apply security updates promptly.
CVE-2026-5795: CWE-226 Sensitive information in resource not removed before reuse in Eclipse Foundation Eclipse Jetty
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.
CVSS v3.1
Score 7.4high
Affected software
Eclipse Foundation
Eclipse Jetty
pkg:maven/org.eclipse.jetty/jettypkg:github/Eclipse JettyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Eclipse Jetty, the JASPIAuthenticator class sets two ThreadLocal variables to store authentication state during authentication checks. Under certain conditions, the authentication process returns early without clearing these ThreadLocal variables. As a result, a subsequent request processed on the same recycled thread inherits the un-cleared ThreadLocal values. This leads to broken access control, authentication bypass, privilege escalation, and potential data breaches. The vulnerability requires the reuse of the exact same thread for a subsequent request, increasing exploitation complexity. Red Hat has rated this vulnerability as important and advises updating the affected package as soon as possible. No practical mitigation other than patching is currently available.
Potential Impact
The vulnerability allows broken access control and privilege escalation due to authentication state leakage via un-cleared ThreadLocal variables. This can lead to authentication bypass and data breaches if a subsequent request reuses the same thread. However, exploitation complexity is high because it requires thread reuse. There are no known exploits in the wild. The CVSS v3.1 base score is 7.4 (High), reflecting high confidentiality and integrity impact but no availability impact.
Mitigation Recommendations
A fix is available and users are advised to update to a patched version of Eclipse Jetty as soon as possible. No practical mitigation other than patching has been identified by the vendor. Users should monitor vendor advisories for updates and apply security updates promptly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- eclipse
- Date Reserved
- 2026-04-08T13:21:06.990Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-5795","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25089","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28573","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","vendor":"Red Hat"}]
Threat ID: 69d729211cc7ad14da1b33a0
Added to database: 04/09/2026, 04:20:49 UTC
Last enriched: 08/15/2026, 14:24:06 UTC
Last updated: 09/13/2026, 22:12:45 UTC
Views: 286
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.