Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables
High severity
GitHub Reviewed
Published
Apr 8, 2026
to the GitHub Advisory Database
•
Updated Apr 8, 2026
Package
Affected versions
>= 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
Patched versions
12.1.7
12.0.33
11.0.28
10.0.28
9.4.60
Description
Published by the National Vulnerability Database
Apr 8, 2026
Published to the GitHub Advisory Database
Apr 8, 2026
Reviewed
Apr 8, 2026
Last updated
Apr 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.
References