CVE-2026-5795
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 · uneditedIn 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 confidenceIn 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.
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>= 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.8CVSS 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 checksWork through these to decide whether this CVE applies to you.
-
Identify installed Jetty versionLocate the jetty-version.jar or check the start.jar manifest, or run: java -jar start.jar --versionAffected 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
-
Determine if JASPIAuthenticator is configuredSearch web.xml files for org.eclipse.jetty.security.jaspi.JASPIAuthenticator, or check any Jetty XML configuration files for jaspiAuthenticator bean definitionsAffected if JASPIAuthenticator is explicitly configured as the authentication mechanism
-
Confirm ThreadPool reuse configurationReview server.xml or start.ini for thread pool settings; check if default thread pool is in use, which reuses threads across requestsAffected if Threads are being reused (default behavior) and JASPIAuthenticator is enabled
-
Verify authentication layer configurationCheck web.xml for <auth-method>JASPI</auth-method> or custom authentication configuration in Jetty XML filesAffected 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.
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 · scoped12.0.3412.1.8
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.
Jetty 9.4.59+ / 10.0.27+ / 11.0.27+ / 12.0.34+ (depending on your major version branch)
- 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. Review your application's dependency management (Maven pom.xml, Gradle build.gradle, or container base images) to identify Jetty version declarations.
- 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. Rebuild and redeploy applications using the updated Jetty version.
- 5. Test authentication and authorization flows thoroughly, especially Jaspi/JASPI authentication mechanisms, to verify the ThreadLocal cleanup fix is working correctly.
- 6. Monitor for any application behavior changes after the upgrade due to the security fix.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-5795 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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