SonarQube CVE-2020-37020
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-priv local access on Windows host
-
DeliveryIdentify unquoted/writable SonarQube service path
-
ExploitPlant malicious wrapper.exe in path
-
ExecutionTrigger or await service restart
-
PersistBinary executes as SYSTEM
-
ImpactFull host compromise
Vulnerability Assessment
| Weakness | |
| 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
4DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio
Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in
A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr
Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables
Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker
An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote
Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio
Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/
Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then
External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network
Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen
Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne
NVD
CVE.org
EPSS
Exploit-DB
GitHub PoC