Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-5795

CVE-2026-5795: Eclipse Jetty Privilege Escalation Flaw

CVE-2026-5795 is a privilege escalation vulnerability in Eclipse Jetty caused by improper ThreadLocal handling in JASPIAuthenticator, allowing attackers to bypass access controls and elevate privileges on affected systems.

Published: April 9, 2026

CVE-2026-5795 Overview

A privilege escalation vulnerability exists in Eclipse Jetty's JASPIAuthenticator class where improper handling of ThreadLocal variables can lead to broken access control. The JASPIAuthenticator initiates authentication checks that set two ThreadLocal variables. Under certain conditions, an early return from the authentication code path occurs without properly clearing these ThreadLocals. When a subsequent request reuses the same thread, it inherits the previous authentication context, potentially allowing unauthorized access to protected resources.

Critical Impact

This vulnerability enables privilege escalation through ThreadLocal variable leakage, allowing attackers to inherit authentication contexts from previous requests and gain unauthorized access to protected resources.

Affected Products

  • Eclipse Jetty (versions with JASPIAuthenticator implementation)

Discovery Timeline

  • 2026-04-08 - CVE-2026-5795 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-5795

Vulnerability Analysis

This vulnerability is classified under CWE-226 (Sensitive Information in Resource Not Removed Before Reuse). The core issue lies in the improper cleanup of ThreadLocal variables within Eclipse Jetty's JASPI (Java Authentication Service Provider Interface) authentication mechanism.

When the JASPIAuthenticator class performs authentication checks, it stores authentication state in two ThreadLocal variables. These variables maintain request-specific authentication context that should be isolated per request. However, the implementation contains code paths where error conditions or specific authentication states trigger an early return from the authentication logic before the ThreadLocal cleanup routines execute.

In Java servlet containers like Jetty, threads are typically pooled and reused across multiple requests for performance optimization. When a thread that processed an authenticated request (with elevated privileges) is subsequently assigned to handle a request from an unauthenticated or lower-privileged user, the lingering ThreadLocal values from the previous request become accessible. This thread reuse pattern, combined with the missing cleanup, creates a race condition where authentication state persists beyond its intended scope.

The attack requires network access and depends on specific timing conditions related to thread pool assignment, making reliable exploitation more complex but still feasible in high-traffic environments.

Root Cause

The root cause is the failure to implement proper cleanup of ThreadLocal variables in all code paths within the JASPIAuthenticator class. Specifically, certain conditional branches that handle edge cases during authentication checks return early without invoking the necessary ThreadLocal.remove() calls. This violates the principle of ensuring sensitive information is cleared from reusable resources (CWE-226) and creates a state persistence issue across request boundaries.

Attack Vector

The vulnerability is exploitable over the network without requiring user interaction or prior authentication. An attacker could exploit this by:

  1. Identifying a Jetty server using JASPI authentication
  2. Sending multiple requests designed to trigger the early-return code path in JASPIAuthenticator
  3. Timing requests to coincide with thread pool recycling, attempting to inherit an authenticated session from a previous user's request
  4. If successful, gaining access to resources or functionality that should require authentication

The attack complexity is elevated due to the dependency on thread pool timing, but in environments with consistent traffic patterns, exploitation becomes more predictable.

Detection Methods for CVE-2026-5795

Indicators of Compromise

  • Unusual access patterns where unauthenticated requests successfully access protected resources
  • Authentication logs showing inconsistent user identities for sequential requests from the same session
  • Audit trail anomalies indicating privilege level mismatches between authentication events and resource access
  • Unexpected session sharing or cross-user data exposure incidents

Detection Strategies

  • Monitor authentication subsystem logs for requests that bypass expected authentication flows
  • Implement application-level logging to track ThreadLocal state across request boundaries in development/staging environments
  • Deploy web application firewall rules to detect unusual access patterns to authenticated endpoints
  • Analyze Jetty server access logs for requests to protected resources lacking proper authentication headers

Monitoring Recommendations

  • Enable verbose logging for the JASPIAuthenticator class to capture authentication state transitions
  • Implement real-time alerting for authentication bypass attempts or privilege escalation events
  • Regularly audit access logs for discrepancies between authenticated users and accessed resources
  • Monitor thread pool metrics for unusual recycling patterns that could indicate exploitation attempts

How to Mitigate CVE-2026-5795

Immediate Actions Required

  • Review and apply the latest Eclipse Jetty security patches addressing this vulnerability
  • Audit existing JASPI authentication configurations for potential exposure
  • Consider implementing additional authorization checks at the application layer as defense-in-depth
  • Enable enhanced logging to detect potential exploitation attempts

Patch Information

Eclipse has acknowledged this vulnerability through their security advisory process. Administrators should consult the GitHub Security Advisory and the Eclipse GitLab CVE Assignment Issue for official patch information and affected version details. Apply the vendor-provided security updates as soon as they become available.

Workarounds

  • If JASPI authentication is not required, consider using alternative authentication mechanisms available in Jetty
  • Implement a custom servlet filter that explicitly clears authentication-related ThreadLocals after each request
  • Configure the thread pool to minimize thread reuse duration where operationally feasible
  • Deploy additional authorization checks at the application layer that do not rely solely on JASPI authentication state

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechEclipse Jetty

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-226
  • Technical References
  • GitHub Security Advisory

  • Eclipse GitLab CVE Assignment Issue
  • Related CVEs
  • CVE-2020-27216: Eclipse Jetty Privilege Escalation Flaw

  • CVE-2026-2332: Eclipse Jetty HTTP Smuggling Vulnerability

  • CVE-2026-1605: Eclipse Jetty GzipHandler DOS Vulnerability

  • CVE-2025-5115: Eclipse Jetty HTTP/2 DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English