CVE-2026-5795: High severity Eclipse Jetty vulnerability

Published Apr 8, 2026
·
Updated

Description (as reported)

A security vulnerability has been identified in Jetty's JaspiAuthenticator.java.

The root cause is a failure to consistently clear authentication metadata stored in ThreadLocal during certain error or incomplete authentication flows. Specifically, after a GroupPrincipalCallback is persisted into the ThreadLocal, the authentication process may exit prematurely — before the ThreadLocal storage is cleared — if a mandatory CallerPrincipalCallback is missing or an exception occurs. This allows a subsequent, unprivileged user processed by the same worker thread to inherit these residual security roles, leading to Broken Access Control and Privilege Escalation.

See also attached PDF.

Impact An unauthenticated user may gain ungrated privileges from a previous request (privilege escalation).

Patches No patches yet.

Workarounds Do not use Jetty's JASPI.

Other sources

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.

GitHub

Affected Software

22 affected componentsFixes available
maven/org.eclipse.jetty.ee10:jetty-ee10>=9.4.0<9.4.60
9.4.60
maven/org.eclipse.jetty.ee10:jetty-ee10>=10.0.0<10.0.28
10.0.28
maven/org.eclipse.jetty.ee10:jetty-ee10>=11.0.0<11.0.28
11.0.28
maven/org.eclipse.jetty.ee10:jetty-ee10>=12.0.0<12.0.33
12.0.33
maven/org.eclipse.jetty.ee10:jetty-ee10>=12.1.0<12.1.7
12.1.7
maven/org.eclipse.jetty:jetty-jaspi>=9.4.0<=9.4.60
9.4.61
maven/org.eclipse.jetty:jetty-jaspi>=10.0.0<=10.0.28
10.0.29
maven/org.eclipse.jetty:jetty-jaspi>=11.0.0<=11.0.28
11.0.29
maven/org.eclipse.jetty.ee8:jetty-ee8-jaspi>=12.0.0<=12.0.33
12.0.34
maven/org.eclipse.jetty.ee9:jetty-ee9-jaspi>=12.0.0<=12.0.33
12.0.34
maven/org.eclipse.jetty.ee10:jetty-ee10-jaspi>=12.0.0<=12.0.33
12.0.34
maven/org.eclipse.jetty.ee11:jetty-ee11-jaspi>=12.0.0<=12.0.33
12.0.34
maven/org.eclipse.jetty.ee8:jetty-ee8-jaspi>=12.1.0<=12.1.7
12.1.8
maven/org.eclipse.jetty.ee9:jetty-ee9-jaspi>=12.1.0<=12.1.7
12.1.8
maven/org.eclipse.jetty.ee10:jetty-ee10-jaspi>=12.1.0<=12.1.7
12.1.8
maven/org.eclipse.jetty.ee11:jetty-ee11-jaspi>=12.1.0<=12.1.7
12.1.8
Eclipse Jetty>=9.4.0<=9.4.58
Eclipse Jetty>=10.0.0<=10.0.26
Eclipse Jetty>=11.0.0<=11.0.26
Eclipse Jetty>=12.0.0<12.0.34
Eclipse Jetty>=12.1.0<12.1.8
IBM API Connect V12 OnPrem<=All

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.eclipse.jetty.ee10:jetty-ee10 to a version that resolves this vulnerability.

    Fixed in 9.4.60
  2. Upgrade

    Upgrade maven/org.eclipse.jetty.ee10:jetty-ee10 to a version that resolves this vulnerability.

    Fixed in 10.0.28
  3. Upgrade

    Upgrade maven/org.eclipse.jetty.ee10:jetty-ee10 to a version that resolves this vulnerability.

    Fixed in 11.0.28
  4. Upgrade

    Upgrade maven/org.eclipse.jetty.ee10:jetty-ee10 to a version that resolves this vulnerability.

    Fixed in 12.0.33
  5. Upgrade

    Upgrade maven/org.eclipse.jetty.ee10:jetty-ee10 to a version that resolves this vulnerability.

    Fixed in 12.1.7
  6. Upgrade

    Upgrade maven/org.eclipse.jetty:jetty-jaspi to a version that resolves this vulnerability.

    Fixed in 9.4.61
  7. Upgrade

    Upgrade maven/org.eclipse.jetty:jetty-jaspi to a version that resolves this vulnerability.

    Fixed in 10.0.29
  8. Upgrade

    Upgrade maven/org.eclipse.jetty:jetty-jaspi to a version that resolves this vulnerability.

    Fixed in 11.0.29
  9. Upgrade

    Upgrade maven/org.eclipse.jetty.ee8:jetty-ee8-jaspi to a version that resolves this vulnerability.

    Fixed in 12.0.34
  10. Upgrade

    Upgrade maven/org.eclipse.jetty.ee9:jetty-ee9-jaspi to a version that resolves this vulnerability.

    Fixed in 12.0.34
  11. Upgrade

    Upgrade maven/org.eclipse.jetty.ee10:jetty-ee10-jaspi to a version that resolves this vulnerability.

    Fixed in 12.0.34
  12. Upgrade

    Upgrade maven/org.eclipse.jetty.ee11:jetty-ee11-jaspi to a version that resolves this vulnerability.

    Fixed in 12.0.34
  13. Upgrade

    Upgrade maven/org.eclipse.jetty.ee8:jetty-ee8-jaspi to a version that resolves this vulnerability.

    Fixed in 12.1.8
  14. Upgrade

    Upgrade maven/org.eclipse.jetty.ee9:jetty-ee9-jaspi to a version that resolves this vulnerability.

    Fixed in 12.1.8
  15. Upgrade

    Upgrade maven/org.eclipse.jetty.ee10:jetty-ee10-jaspi to a version that resolves this vulnerability.

    Fixed in 12.1.8
  16. Upgrade

    Upgrade maven/org.eclipse.jetty.ee11:jetty-ee11-jaspi to a version that resolves this vulnerability.

    Fixed in 12.1.8
  17. Configuration

    Disable/avoid Jetty's JASPI integration so that the class JASPIAuthenticator is not used for authentication.

    Jetty (JASPIAuthenticator) JASPI usage = Do not use Jetty's JASPI
  18. Compensating control

    Ensure requests are not processed by the same worker thread after an incomplete/failed JASPI authentication flow (e.g., isolate authentication handling to prevent ThreadLocal security metadata from being inherited by a subsequent request).

Event History

Apr 8, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
Affected Software
Advisory Published
via GitHub·03:31 PM
Data Sourced
via GitHub·03:31 PM
DescriptionSeverityWeaknessAffected Software
Apr 14, 2026
Updated
via GitHub·12:06 AM
DescriptionWeaknessAffected Software
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203