The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2023-36479

CVE-2023-36479: Eclipse Jetty CgiServlet RCE Vulnerability

CVE-2023-36479 is a remote code execution flaw in Eclipse Jetty CgiServlet that allows attackers to execute unintended commands through improper escaping. This article covers the technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-36479 Overview

Eclipse Jetty, the widely-used Java-based HTTP server and servlet container, contains a command injection vulnerability in its CgiServlet component. Users of the org.eclipse.jetty.servlets.CGI Servlet with a very specific command structure may have the wrong command executed. When a user sends a request for a binary with a space in its name, the servlet attempts to escape the command by wrapping it in quotation marks. However, if the original binary name contains a quotation mark followed by a space, the resulting command line passed to Runtime.exec will contain multiple tokens instead of one, potentially allowing unintended command execution.

Critical Impact

Attackers with low-level privileges can potentially manipulate command execution in applications using Jetty's CgiServlet, though the attack requires specific conditions and high complexity to exploit successfully.

Affected Products

  • Eclipse Jetty versions prior to 9.4.52
  • Eclipse Jetty versions 10.x prior to 10.0.16
  • Eclipse Jetty versions 11.x prior to 11.0.16
  • Eclipse Jetty 12.0.0-alpha1 through 12.0.0-beta1
  • Debian Linux 10.0, 11.0, and 12.0

Discovery Timeline

  • 2023-09-15 - CVE-2023-36479 published to NVD
  • 2025-05-27 - Last updated in NVD database

Technical Details for CVE-2023-36479

Vulnerability Analysis

This vulnerability exists in Eclipse Jetty's CgiServlet component, which is responsible for executing CGI (Common Gateway Interface) scripts. The root issue lies in improper handling of special characters when constructing command lines for execution. When a CGI binary name contains a space, the servlet wraps the entire command in quotation marks to preserve the path as a single argument. However, this escaping mechanism fails to account for embedded quotation marks within the binary name itself.

The flaw is categorized under CWE-149 (Improper Neutralization of Quoting Syntax), indicating that the servlet does not properly neutralize or escape quotation characters before they are used in a command execution context. This improper input validation allows specially crafted requests to break out of the quoted context and inject additional command arguments.

Root Cause

The vulnerability stems from insufficient input validation in the CgiServlet's command-line construction logic. When the servlet receives a request for a CGI binary with spaces in its path, it wraps the command in quotation marks for proper shell interpretation. The implementation fails to sanitize or escape quotation mark characters within the user-supplied binary name. This allows an attacker to inject a quotation mark followed by a space, effectively closing the quoted string early and introducing additional command tokens.

Attack Vector

The attack requires network access to a Jetty server running the CgiServlet with CGI scripts enabled. An authenticated attacker with low privileges must craft a malicious request targeting a CGI endpoint. The request must specify a binary name containing a quotation mark followed by a space character. This crafted input causes the command parser to interpret the subsequent characters as separate command arguments rather than part of the original filename.

When the servlet processes this request, the resulting command passed to Runtime.exec contains unexpected tokens. While the attack complexity is high due to the specific conditions required, successful exploitation could allow an attacker to influence which commands are executed or modify command arguments.

The vulnerability mechanism works as follows: when the CgiServlet receives a request for a CGI binary with a space in its name, it constructs a command string by wrapping the path in quotes. If an attacker supplies a path like binary" -malicious, the servlet may construct a command that includes unintended arguments. The command prefix feature compounds this issue, as the manipulated tokens can alter how the prefix combines with the binary path. For detailed technical information, see the GitHub Security Advisory GHSA-3gh6-v5v9-6v9j.

Detection Methods for CVE-2023-36479

Indicators of Compromise

  • HTTP requests to CGI endpoints containing quotation marks followed by spaces in the path or filename parameters
  • Unexpected or anomalous CGI script executions in Jetty server logs
  • Command execution errors or unusual process spawning patterns related to Jetty servlet containers
  • Web access logs showing requests with encoded quotation marks (%22) targeting CGI scripts

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing quotation marks in CGI path parameters
  • Monitor Jetty access logs for requests targeting CgiServlet endpoints with suspicious character patterns
  • Enable detailed logging for servlet container command executions and alert on unexpected command structures
  • Deploy SentinelOne's application control policies to monitor and alert on unusual process execution patterns from Java applications

Monitoring Recommendations

  • Configure log aggregation to capture and analyze all CgiServlet-related requests across Jetty instances
  • Establish baseline patterns for legitimate CGI script usage and alert on deviations
  • Implement runtime application self-protection (RASP) solutions to detect command injection attempts at the application layer

How to Mitigate CVE-2023-36479

Immediate Actions Required

  • Upgrade Eclipse Jetty to patched versions: 9.4.52, 10.0.16, 11.0.16, or 12.0.0-beta2 or later
  • Review and audit all applications using CgiServlet to identify potentially affected deployments
  • Consider disabling CgiServlet functionality if CGI script execution is not required for application operations
  • Apply Debian security updates via DSA-5507 for affected Debian systems

Patch Information

Eclipse has released patches addressing this vulnerability across multiple version branches. The fixes are documented in GitHub Pull Request #9516, Pull Request #9888, and Pull Request #9889. The patches implement proper sanitization of quotation characters in CGI binary names before command construction.

For Debian-based systems, security updates are available through the standard package management system. Refer to Debian LTS Announcement for details on affected packages and update instructions.

Workarounds

  • Disable CgiServlet if CGI functionality is not required by removing or commenting out the servlet mapping in web.xml
  • Implement input validation at the reverse proxy or load balancer level to reject requests with quotation marks in CGI paths
  • Deploy a web application firewall with rules specifically targeting command injection patterns in CGI requests
bash
# Example: Disable CgiServlet in Jetty web.xml configuration
# Comment out or remove the following servlet mapping:
# <servlet>
#   <servlet-name>CGI</servlet-name>
#   <servlet-class>org.eclipse.jetty.servlets.CGI</servlet-class>
# </servlet>
# <servlet-mapping>
#   <servlet-name>CGI</servlet-name>
#   <url-pattern>/cgi-bin/*</url-pattern>
# </servlet-mapping>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechEclipse Jetty

  • SeverityLOW

  • CVSS Score3.1

  • EPSS Probability1.38%

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

  • NVD-CWE-Other
  • Technical References
  • Debian LTS Announcement September 2023

  • Debian Security Advisory DSA-5507
  • Vendor Resources
  • GitHub Jetty Pull Request #9516

  • GitHub Jetty Pull Request #9888

  • GitHub Jetty Pull Request #9889

  • GitHub Security Advisory GHSA-3gh6-v5v9-6v9j
  • Related CVEs
  • CVE-2026-1605: Eclipse Jetty GzipHandler DOS Vulnerability

  • CVE-2025-5115: Eclipse Jetty HTTP/2 DoS Vulnerability

  • CVE-2024-9823: Eclipse Jetty DoS Filter DoS Vulnerability

  • CVE-2024-8184: Eclipse Jetty DOS Vulnerability
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