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

CVE-2020-37020: SonarQube Privilege Escalation Vulnerability

CVE-2020-37020 is a privilege escalation flaw in SonarQube 8.3.1 caused by an unquoted service path. Local attackers can exploit this to gain SYSTEM privileges. This article covers technical details, impact, and mitigation.

Published: January 29, 2026

CVE-2020-37020 Overview

CVE-2020-37020 is an unquoted service path vulnerability affecting SonarQube 8.3.1 that allows local attackers to escalate privileges to SYSTEM level on Windows systems. The vulnerability exists in the service executable path configuration, where improper quoting of the service binary path enables attackers to place malicious executables in strategic locations that will be executed with elevated privileges when the service restarts.

Critical Impact

Local attackers with limited user privileges can achieve SYSTEM-level code execution by exploiting the unquoted service path, potentially leading to complete system compromise.

Affected Products

  • SonarQube 8.3.1
  • SonarQube versions using unquoted Windows service paths
  • Windows installations of SonarQube with default service configurations

Discovery Timeline

  • 2026-01-29 - CVE CVE-2020-37020 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2020-37020

Vulnerability Analysis

This vulnerability is classified under CWE-428 (Unquoted Search Path or Element), a well-known Windows-specific security issue. When a Windows service is configured with a path containing spaces that is not enclosed in quotation marks, the Windows Service Control Manager (SCM) interprets the path in a specific manner that can be exploited by attackers.

The core issue lies in how Windows parses executable paths. When the service path is unquoted and contains spaces, Windows attempts to locate the executable by progressively parsing the path at each space character. For example, if the service path is C:\Program Files\SonarQube\bin\windows-x86-64\wrapper.exe, Windows will first attempt to execute C:\Program.exe, then C:\Program Files\SonarQube\bin\windows-x86-64\wrapper.exe if the former doesn't exist.

Root Cause

The root cause of this vulnerability is the improper configuration of the Windows service registration for SonarQube. The installer or configuration script failed to wrap the service executable path in double quotes, leaving the path vulnerable to path interpretation attacks. This is a common oversight in Windows application installations where service paths traverse directories with spaces in their names, such as Program Files.

Attack Vector

The attack requires local access to the system where SonarQube is installed. An attacker with write permissions to directories in the unquoted path (such as C:\ or C:\Program Files\SonarQube\bin\) can place a malicious executable named appropriately (e.g., Program.exe or SonarQube.exe) in one of these locations. When the SonarQube service restarts—either through manual restart, system reboot, or triggered crash—Windows will execute the attacker's malicious binary with SYSTEM privileges instead of the legitimate service executable.

The attack flow involves identifying the unquoted service path using tools like wmic service get name,pathname or querying the Windows registry, determining which directory the attacker has write access to, placing a malicious executable with the appropriate name in that directory, and then triggering a service restart to achieve code execution with SYSTEM privileges.

Technical details and proof-of-concept information can be found at the Exploit-DB #48677 advisory.

Detection Methods for CVE-2020-37020

Indicators of Compromise

  • Unexpected executable files appearing in root directories or intermediate path locations (e.g., C:\Program.exe, C:\Program Files\SonarQube.exe)
  • Unusual process creation events with SYSTEM privileges originating from atypical file locations
  • Modified service configurations or registry entries related to SonarQube service paths
  • File system audit logs showing write operations to directories along the SonarQube service path

Detection Strategies

  • Query Windows services for unquoted paths using wmic service get name,pathname | findstr /i /v """ to identify vulnerable services
  • Monitor process creation events for executables running from unexpected locations with SYSTEM privileges
  • Implement file integrity monitoring on directories commonly targeted by unquoted path attacks
  • Use SentinelOne's behavioral AI to detect anomalous process spawning patterns from service contexts

Monitoring Recommendations

  • Enable Windows Security Event logging for service start/stop events (Event IDs 7035, 7036)
  • Configure file system auditing on potential hijack locations such as C:\ and intermediate service path directories
  • Deploy endpoint detection rules to alert on new executable creation in system-critical directories
  • Regularly audit Windows service configurations for unquoted paths as part of security hardening assessments

How to Mitigate CVE-2020-37020

Immediate Actions Required

  • Audit the SonarQube service registration to identify unquoted paths using sc qc SonarQube or Windows Services management console
  • Update the service path to include proper quotation marks around the full executable path
  • Restrict write permissions on directories in the service path to administrators only
  • Consider temporarily disabling the SonarQube service until the path is corrected if immediate remediation is not possible

Patch Information

Organizations should update to the latest version of SonarQube that addresses this service path configuration issue. Consult the SonarQube Official Site for the latest security updates and version information. Additionally, review the VulnCheck SonarQube Advisory for detailed remediation guidance.

Workarounds

  • Manually correct the service path by modifying the registry key at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SonarQube to include quotes around the ImagePath value
  • Implement strict access controls on the C:\ drive and Program Files directories to prevent unauthorized write access
  • Deploy application whitelisting solutions to prevent unauthorized executables from running with elevated privileges
  • Use SentinelOne's exploit prevention capabilities to block malicious process execution from hijacked service paths
bash
# Configuration example - Fix unquoted service path via registry
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SonarQube" /v ImagePath /t REG_EXPAND_SZ /d "\"C:\Program Files\SonarQube\bin\windows-x86-64\wrapper.exe\" -s \"C:\Program Files\SonarQube\conf\wrapper.conf\"" /f

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechSonarqube

  • SeverityHIGH

  • CVSS Score8.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-428
  • Technical References
  • Exploit-DB #48677

  • SonarQube Official Site

  • VulnCheck SonarQube Advisory
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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