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.
History

Sat, 11 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Title ThreadLocal Variable Leak Allows Thread-Based Privilege Escalation in Eclipse Jetty JASPIAuthenticator org.eclipse.jetty.ee10/jetty-ee10: early return from the JASPIAuthenticator class without clearing ThreadLocal variables
References
Metrics threat_severity

None

threat_severity

Important


Wed, 08 Apr 2026 20:15:00 +0000

Type Values Removed Values Added
Title ThreadLocal Variable Leak Allows Thread-Based Privilege Escalation in Eclipse Jetty JASPIAuthenticator

Wed, 08 Apr 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse jetty
Vendors & Products Eclipse
Eclipse jetty

Wed, 08 Apr 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 08 Apr 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-226
CWE-287
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-04-09T03:56:11.784Z

Reserved: 2026-04-08T13:21:06.990Z

Link: CVE-2026-5795

cve-icon Vulnrichment

Updated: 2026-04-08T16:01:58.420Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-08T14:16:32.633

Modified: 2026-04-08T21:26:13.410

Link: CVE-2026-5795

cve-icon Redhat

Severity : Important

Publid Date: 2026-04-08T13:32:28Z

Links: CVE-2026-5795 - Bugzilla