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

GHSA-r7p8-xq5m-436c

HIGH

GHSA-r7p8-xq5m-436c is a high-severity (CVSS 7.4) CWE-226 vulnerability in org.eclipse.jetty.ee11:jetty-ee11-jaspi. O3 Security confirms whether GHSA-r7p8-xq5m-436c 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 asCVE-2026-5795
Published
Apr 14, 2026
Updated
Apr 14, 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

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.

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 GHSA-r7p8-xq5m-436c 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 GHSA-r7p8-xq5m-436c 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 GHSA-r7p8-xq5m-436c. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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

Is GHSA-r7p8-xq5m-436c in your dependencies?

O3 detects GHSA-r7p8-xq5m-436c across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.