Skip to main content

SonarQube CVE-2020-37020

HIGH
Unquoted Search Path or Element (CWE-428)
2026-01-29 disclosure@vulncheck.com
8.5
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-priv local access on Windows host
  2. Delivery
    Identify unquoted/writable SonarQube service path
  3. Exploit
    Plant malicious wrapper.exe in path
  4. Execution
    Trigger or await service restart
  5. Persist
    Binary executes as SYSTEM
  6. Impact
    Full host compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V13 - Configuration Path quoting
Exploitation Conditions

Requires: (1) the target running SonarQube 8.3.1 installed as a Windows service, (2) local interactive or code-execution access to the host with at least low-level privileges (PR:L), (3) a service path that is unquoted and/or a directory in the path that is writable by the attacker, allowing placement of a malicious wrapper.exe, and (4) a subsequent service restart (reboot, upgrade, or admin action) to trigger execution. Limiting factors: this is not remotely exploitable (AV:L), cannot be triggered without an existing local foothold, and is neutralized if the service path is properly quoted and the install directories are not writable by non-admin users - standard on correctly hardened installs.

Impact

This is a local privilege-escalation flaw (CVSS 4.0 vector AV:L/AC:L/PR:L/UI:N), not a remotely reachable issue, which sharply narrows its real-world priority. An attacker must already have a foothold on the Windows host with at least low-level privileges (PR:L) before this is useful, so it is a post-compromise escalation primitive rather than an initial-access vulnerability. The signals are consistent on severity but modest on urgency: a public POC exists (Exploit-DB 48677), yet the EPSS score is only 0.01% (3rd percentile) and the CVE is NOT on CISA KEV - publicly available exploit code exists, but there is no evidence of active exploitation. Note a conflict to verify: the CVSS 4.0 vector and the published 8.5 score indicate HIGH confidentiality/integrity/availability impact (VC:H/VI:H/VA:H), consistent with SYSTEM code execution, but the single provided Tag labels this 'Information Disclosure,' which materially understates the impact and appears to be mislabeled. Bottom line: a genuine but conditional risk - meaningful for hardening Windows hosts running SonarQube as a service, but low-urgency for patch prioritization given local-only vector, low EPSS, and no KEV listing.

Exploit ScenarioDerived

An attacker with limited local access to a Windows host running SonarQube 8.3.1 as a service places a malicious executable at a writable location along the unquoted or weakly-permissioned service path (e.g., replacing wrapper.exe). When the SonarQube service is restarted - by reboot, update, or admin action - Windows launches the attacker's binary with SYSTEM privileges. A working POC is publicly available on Exploit-DB (48677), lowering the skill barrier.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 07, 2026

Local privilege escalation in SonarQube 8.3.1 on Windows lets an attacker who already has low-level local access replace wrapper.exe in an unquoted service path and gain SYSTEM privileges when the service restarts. The flaw is not remotely reachable and requires an existing local foothold, but successful exploitation yields high confidentiality, integrity, and availability impact. Publicly available exploit code exists; EPSS is very low at 0.01%, and there is no CISA KEV confirmation of active exploitation.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 22:00 CVSS 7.8

SonarQube 8.3.1 contains an unquoted service path vulnerability that allows local attackers to gain SYSTEM privileges by exploiting the service executable path. [CVSS 7.8 HIGH]

RemediationAI

No specific patched version is identified in the provided data; upgrade to a currently supported SonarQube release and verify the Windows service configuration. The primary fix is to quote the full service binary path in the ImagePath registry value so Windows cannot resolve a space-delimited path component to an attacker-controlled executable. Also remove write permissions for non-admin users from the SonarQube installation directories and any parent directories containing wrapper.exe. If immediate upgrade or reconfiguration is not possible, manually edit the service path to add quotes, restart the service, and confirm with service configuration review; this may briefly interrupt SonarQube availability and requires administrative access and registry backup. Review the vendor site at https://www.sonarqube.org and VulnCheck advisory at https://www.vulncheck.com/advisories/sonarqube-unquoted-service-path for updated guidance, and restrict local logon and code-execution rights to reduce the prerequisite PR:L foothold.

Affected ProductsAI

SonarQube 8.3.1 installed as a Windows service is the affected product in the provided data. The vulnerability specifically depends on an unquoted service path containing wrapper.exe, typically the Java Service Wrapper used to run SonarQube. The NVD reference points to https://www.sonarqube.org and the VulnCheck advisory is at https://www.vulncheck.com/advisories/sonarqube-unquoted-service-path; an Exploit-DB entry is available at https://www.exploit-db.com/exploits/48677. No CPE strings were supplied, so broader version ranges beyond 8.3.1 are not confirmed by the input.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CVE-2020-37020 is a CWE-428 unquoted search path or element issue in the Windows service configuration used by SonarQube 8.3.1, commonly via the Java Service Wrapper executable wrapper.exe. When the service ImagePath is not enclosed in quotes and a directory in that path is writable by a non-admin user, Windows searches each space-delimited path component for an executable. A local attacker can plant a malicious wrapper.exe in one of those writable directories, and the service will execute it as SYSTEM on the next restart. The independent assessment scores this as CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, confirming a local privilege-escalation class rather than a remote vulnerability; the supplied CVSS 4.0 vector likewise indicates AV:L/PR:L and high impact. No CPE strings are provided, so exact platform applicability is limited to the described SonarQube 8.3.1 Windows service installation context.

Know when Windows gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

Local-only escalation (AV:L) needing an existing low-priv foothold (PR:L) and no user interaction; successful execution as SYSTEM yields full C/I/A impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Analysis Updated
Oct 07, 2026 - 08:34 vuln.today
v2 - CVSS changed
CVSS changed
Oct 07, 2026 - 08:22 NVD
7.8 (HIGH) 8.5 (HIGH)
PoC Detected
Jan 29, 2026 - 16:31 vuln.today
Public exploit code
CVE Published
Jan 29, 2026 - 15:16 nvd
HIGH 7.8

DescriptionCVE.org

SonarQube 8.3.1 contains an unquoted service path vulnerability that allows local attackers to gain SYSTEM privileges by exploiting the service executable path. Attackers can replace the wrapper.exe in the service path with a malicious executable to execute code with highest system privileges during service restart.

Executive ViewAI

Why It Matters

SonarQube 8.3.1 running on Windows hosts contains a local privilege-escalation flaw that allows anyone who already has a foothold on the server to take full SYSTEM control of the operating system. Because SonarQube servers typically store proprietary source code, build credentials, and integration tokens, a successful escalation can expose the organization's most sensitive intellectual property and enable lateral movement into development and CI/CD environments. Leadership should care because no vendor patch is available, so protection depends on configuration hardening and tighter control over who can log into these servers.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce a fully quoted service binary path or relocate the service binary to a directory path containing no spaces; restrict write and modify permissions on all directories in the service path to Administrators and SYSTEM only; audit and remove unnecessary local accounts and limit interactive logon rights on the host; monitor for modifications to wrapper.exe, the service registry key, and unquoted service paths; and upgrade to a supported SonarQube release as the durable fix.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Prevalence
Medium
popular enterprise code-quality/CI tool, but Windows-service deployments are a subset
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

62
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2026-96951 HIGH POC
8.8 Oct 13

Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then

CVE-2025-24054 MEDIUM POC
6.5 Mar 11

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network

CVE-2026-110936 HIGH POC
8.4 Oct 15

Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen

CVE-2025-32706 HIGH POC
7.8 May 13

Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy