Jetty JASPIAuthenticator ThreadLocal Leak Causes Privilege Escalation
CVE-2026-5795 Published on April 8, 2026
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.
Vulnerability Analysis
CVE-2026-5795 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Weakness Types
Sensitive Information in Resource Not Removed Before Reuse
When a device releases a resource such as memory or a file for reuse by other entities, information contained in the resource is not fully cleared prior to reuse of the resource.
What is an authentification Vulnerability?
When an actor claims to have a given identity, the software does not prove or insufficiently proves that the claim is correct.
CVE-2026-5795 has been classified to as an authentification vulnerability or weakness.
Products Associated with CVE-2026-5795
Want to know whenever a new CVE is published for Eclipse Jetty? stack.watch will email you.
Affected Versions
Eclipse Foundation Eclipse Jetty:- Version 12.1.0, <= 12.1.7 is affected.
- Version 12.0.0, <= 12.0.33 is affected.
- Version 11.0.0, <= 11.0.28 is affected.
- Version 10.0.0, <= 10.0.28 is affected.
- Version 9.4.0, <= 9.4.60 is affected.