JettyApplication · Eclipse

CVE-2026-5795

HIGH · 7.4 CVSS v3.1 Published 2026-04-08
Fix available
A fix is available. Upgrade to 12.0.34 / 12.1.8 or later.
See remediation →
83/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

In Eclipse Jetty's JASPIAuthenticator class, ThreadLocal variables set during authentication checks are not cleared when certain early-return conditions are triggered. Subsequent requests reusing the same thread inherit these tainted ThreadLocal values, allowing a user to inherit authentication state from a previous request and achieve privilege escalation.

MitigationUpgrade to a patched version of Eclipse Jetty that properly clears ThreadLocal variables in all code paths within JASPIAuthenticator, or implement a ThreadLocal cleanup mechanism in request lifecycle handlers if no patch is available.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
JettyApplication
Affected:>= 9.4.0, <= 9.4.58>= 10.0.0, <= 10.0.26>= 11.0.0, <= 11.0.26>= 12.0.0, < 12.0.34>= 12.1.0, < 12.1.8

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed Jetty version
    Locate the jetty-version.jar or check the start.jar manifest, or run: java -jar start.jar --version
    Affected if The version falls within 9.4.0-9.4.58, 10.0.0-10.0.26, 11.0.0-11.0.26, 12.0.0-12.0.33, or 12.1.0-12.1.7
  2. Determine if JASPIAuthenticator is configured
    Search web.xml files for org.eclipse.jetty.security.jaspi.JASPIAuthenticator, or check any Jetty XML configuration files for jaspiAuthenticator bean definitions
    Affected if JASPIAuthenticator is explicitly configured as the authentication mechanism
  3. Confirm ThreadPool reuse configuration
    Review server.xml or start.ini for thread pool settings; check if default thread pool is in use, which reuses threads across requests
    Affected if Threads are being reused (default behavior) and JASPIAuthenticator is enabled
  4. Verify authentication layer configuration
    Check web.xml for <auth-method>JASPI</auth-method> or custom authentication configuration in Jetty XML files
    Affected if JASPI authentication method is configured in the deployment

The environment is affected if running a Jetty version within the affected ranges AND JASPIAuthenticator is configured as the authentication mechanism, because only then will the uncleared ThreadLocal variables cause authentication bypass on reused threads.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 12.0.34 / 12.1.8 or later
Fixed in 12.0.3412.1.8
Interim mitigation

Upgrade to a patched version of Eclipse Jetty that properly clears ThreadLocal variables in all code paths within JASPIAuthenticator, or implement a ThreadLocal cleanup mechanism in request lifecycle handlers if no patch is available.

Recommended fix High confidence

Jetty 9.4.59+ / 10.0.27+ / 11.0.27+ / 12.0.34+ (depending on your major version branch)

  1. 1. Identify all Jetty servers running affected versions (9.4.0-9.4.58, 10.0.0-10.0.26, 11.0.0-11.0.26, or 12.0.0-12.0.33) in your environment.
  2. 2. Review your application's dependency management (Maven pom.xml, Gradle build.gradle, or container base images) to identify Jetty version declarations.
  3. 3. Update Jetty dependency version to: 9.4.59 or later for Jetty 9.x, 10.0.27 or later for Jetty 10.x, 11.0.27 or later for Jetty 11.x, or 12.0.34 or later for Jetty 12.x.
  4. 4. Rebuild and redeploy applications using the updated Jetty version.
  5. 5. Test authentication and authorization flows thoroughly, especially Jaspi/JASPI authentication mechanisms, to verify the ThreadLocal cleanup fix is working correctly.
  6. 6. Monitor for any application behavior changes after the upgrade due to the security fix.
Caveat Minor: Upgrading across major version branches (e.g., 9.x to 10.x, 10.x to 11.x, 11.x to 12.x) may introduce breaking API changes; ensure compatibility testing is performed

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Jetty Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA4.0 h
22.0 hours of engineering $3,860
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-5795 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-5795 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data