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-2020-27216

CVE-2020-27216: Eclipse Jetty Privilege Escalation Flaw

CVE-2020-27216 is a privilege escalation vulnerability in Eclipse Jetty affecting Unix-like systems. Attackers can exploit race conditions in temporary directories to gain elevated privileges and access sensitive files.

Published: March 4, 2026

CVE-2020-27216 Overview

CVE-2020-27216 is a local privilege escalation vulnerability affecting Eclipse Jetty, a popular Java-based web server and servlet container. On Unix-like systems, the system's temporary directory is shared between all users, creating an opportunity for a collocated attacker to exploit a race condition during the creation of temporary subdirectories. A malicious local user can observe the process of creating a temporary subdirectory and race to complete its creation, potentially gaining read and write access to the directory used for unpacking web applications, including sensitive files such as WEB-INF/lib JAR files and JSP files.

Critical Impact

Successful exploitation allows a local attacker to gain elevated privileges by manipulating temporary directory permissions, potentially leading to code execution within the context of the Jetty server process.

Affected Products

  • Eclipse Jetty versions 1.0 through 9.4.32.v20200930
  • Eclipse Jetty versions 10.0.0.alpha1 through 10.0.0.beta2
  • Eclipse Jetty versions 11.0.0.alpha1 through 11.0.0.beta2
  • NetApp Snap Creator Framework, SnapCenter, VASA Provider, Virtual Storage Console, Storage Replication Adapter
  • VMware vSphere
  • Oracle Communications Application Session Controller, Converged Application Server, Element Manager, and other Oracle products
  • Apache Beam versions 2.21.0 through 2.25.0
  • Debian Linux 9.0 and 10.0

Discovery Timeline

  • 2020-10-23 - CVE CVE-2020-27216 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-27216

Vulnerability Analysis

This vulnerability is classified under CWE-378 (Creation of Temporary File With Insecure Permissions) and represents a Time-of-Check Time-of-Use (TOCTOU) race condition. The flaw exists in how Eclipse Jetty handles the creation of temporary subdirectories when unpacking web applications on Unix-like systems.

When Jetty creates temporary directories, it does so in the system's shared /tmp directory without adequate protection against race conditions. An attacker with local access to the same system can monitor the directory creation process and exploit the timing window between when Jetty checks for the directory's existence and when it actually sets the appropriate permissions.

If the attacker successfully wins the race, they gain read and write permissions to the temporary subdirectory. This directory contains unpacked web application resources including JAR files from WEB-INF/lib and JSP source files. With write access to these locations, an attacker could inject malicious code that would be executed when the web application loads these resources.

Root Cause

The root cause is insecure handling of temporary file and directory creation in a shared temporary directory environment. On Unix-like systems, the /tmp directory is world-readable and world-writable by default, and Jetty's temporary directory creation mechanism did not employ atomic operations or secure creation flags to prevent race conditions. The vulnerability arises from the predictable naming and non-atomic creation of temporary subdirectories, combined with the shared nature of the system's temporary directory.

Attack Vector

Exploitation requires local access to the target system where Jetty is running. The attack proceeds as follows:

  1. The attacker monitors the shared temporary directory (/tmp) for Jetty's directory creation activities
  2. When Jetty initiates creation of a temporary subdirectory for unpacking a web application, the attacker races to create the directory first
  3. If successful, the attacker's directory is used, granting them ownership and full permissions
  4. The attacker can then place malicious JAR files or modified JSP files in the directory
  5. When Jetty subsequently loads resources from this directory, the malicious code executes with Jetty's privileges

The vulnerability mechanism involves predictable temporary directory naming patterns and a race window during directory creation. See the GitHub Security Advisory GHSA-g3wg-6mcf-8jj6 for detailed technical information about the exploitation mechanics.

Detection Methods for CVE-2020-27216

Indicators of Compromise

  • Unusual directory ownership changes within /tmp directories associated with Jetty or Java applications
  • Multiple rapid creation and modification events in the system temporary directory coinciding with Jetty web application deployments
  • Unexpected JAR files or modified JSP files in Jetty's temporary unpacking directories
  • Process monitoring showing multiple users accessing the same temporary subdirectory path

Detection Strategies

  • Monitor file system events in /tmp and Jetty-specific temporary directories for suspicious race condition patterns
  • Implement audit logging for directory creation operations by the Jetty process
  • Use integrity monitoring tools to detect unauthorized modifications to unpacked web application files
  • Monitor for unusual process spawning from the Jetty server context that may indicate code injection

Monitoring Recommendations

  • Enable auditd rules to track mkdir and mkdtemp syscalls in the temporary directory space
  • Configure SentinelOne or similar EDR solutions to alert on suspicious file operations in Java application temporary directories
  • Implement periodic integrity checks on deployed web application resources
  • Monitor for local users attempting to access or modify directories owned by the Jetty service account

How to Mitigate CVE-2020-27216

Immediate Actions Required

  • Upgrade Eclipse Jetty to version 9.4.33.v20201020 or later, 10.0.0.beta3 or later, or 11.0.0.beta3 or later
  • Configure Jetty to use a dedicated, user-specific temporary directory with restricted permissions
  • Review and restrict local user access on systems running Jetty servers
  • Implement file system monitoring on critical temporary directories

Patch Information

Eclipse has released patched versions that address this vulnerability. For Jetty 9.4.x, upgrade to version 9.4.33.v20201020 or later. For Jetty 10.x, upgrade to 10.0.0.beta3 or later. For Jetty 11.x, upgrade to 11.0.0.beta3 or later. Detailed patch information is available in the Eclipse Bug Report #567921 and the GitHub Security Advisory.

For Oracle products, refer to the Oracle CPU January 2021, April 2021, July 2021, and October 2021 advisories for product-specific patches.

Workarounds

  • Set the java.io.tmpdir system property to a dedicated directory with permissions restricted to the Jetty service account only
  • Use umask settings to ensure restrictive default permissions on newly created directories
  • Mount the temporary directory with the nosuid and noexec options to limit potential exploitation impact
  • Consider running Jetty in a containerized environment with isolated temporary storage
bash
# Configuration example
# Create a dedicated temporary directory for Jetty with restricted permissions
mkdir -p /var/jetty/tmp
chown jetty:jetty /var/jetty/tmp
chmod 700 /var/jetty/tmp

# Configure Jetty to use the dedicated temporary directory
# Add to Jetty startup configuration or JAVA_OPTIONS
JAVA_OPTIONS="-Djava.io.tmpdir=/var/jetty/tmp"

# Alternative: Set in jetty.sh or systemd service file
# Environment="JAVA_OPTIONS=-Djava.io.tmpdir=/var/jetty/tmp"

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.0

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-378

  • NVD-CWE-Other
  • Technical References
  • Apache Beam Mailing List Thread

  • Apache Felix Mailing List Thread

  • Apache Zookeeper Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Mailing List Thread

  • Apache Directory Mailing List Thread

  • Apache Felix Mailing List Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Mailing List Thread

  • Apache Zookeeper Commits Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Samza Commits Thread

  • Apache IoTDB Commits Thread

  • Apache Zookeeper Commits Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Commits Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Zookeeper Notifications Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Apache Beam Mailing List Thread

  • Debian LTS Security Announcement

  • NetApp Security Advisory NTAP-20201123-0005

  • Debian Security Advisory DSA-4949

  • Oracle Security Alert CPU July 2021

  • Oracle Security Alert CPU April 2021

  • Oracle Security Alert CPU January 2021

  • Oracle Security Alert CPU January 2022

  • Oracle Security Alert CPU October 2021

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Apache

  • Lists Debian

  • Security Netapp

  • Debian

  • Oracle
  • Vendor Resources
  • Eclipse Bug Report #567921

  • GitHub Security Advisory GHSA-g3wg-6mcf-8jj6

  • Oracle

  • Oracle

  • Oracle

  • Oracle
  • Related CVEs
  • CVE-2026-5795: 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