Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

CVE-2026-5795

HIGH

CVE-2026-5795 is a high-severity (CVSS 7.4) CWE-226 vulnerability in org.eclipse.jetty.ee11:jetty-ee11-jaspi. O3 Security confirms whether CVE-2026-5795 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables

Also known asGHSA-r7p8-xq5m-436c
Published
Apr 8, 2026
Updated
Aug 4, 2026
Affected
11 pkgs
Patched
11 / 11
Exploits
None indexed

Blast Radius

11 pkgs affected
org.eclipse.jetty.ee11:jetty-ee11-jaspiorg.eclipse.jetty.ee10:jetty-ee10-jaspiorg.eclipse.jetty.ee9:jetty-ee9-jaspiorg.eclipse.jetty.ee8:jetty-ee8-jaspiorg.eclipse.jetty.ee11:jetty-ee11-jaspiorg.eclipse.jetty.ee10:jetty-ee10-jaspiorg.eclipse.jetty.ee9:jetty-ee9-jaspiorg.eclipse.jetty.ee8:jetty-ee8-jaspi+3 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

11 total 11 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.eclipse.jetty.ee11:jetty-ee11-jaspi12.1.0&&< 12.1.812.1.8
Mavenorg.eclipse.jetty.ee10:jetty-ee10-jaspi12.1.0&&< 12.1.812.1.8
Mavenorg.eclipse.jetty.ee9:jetty-ee9-jaspi12.1.0&&< 12.1.812.1.8
Mavenorg.eclipse.jetty.ee8:jetty-ee8-jaspi12.1.0&&< 12.1.812.1.8
Mavenorg.eclipse.jetty.ee11:jetty-ee11-jaspi12.0.0&&< 12.0.3412.0.34
Mavenorg.eclipse.jetty.ee10:jetty-ee10-jaspi12.0.0&&< 12.0.3412.0.34

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.eclipse.jetty.ee11:jetty-ee11-jaspi. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.eclipse.jetty.ee11:jetty-ee11-jaspi to 12.1.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-5795 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether CVE-2026-5795 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to CVE-2026-5795. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2026-5795 in your dependencies?

O3 detects CVE-2026-5795 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.