Command Injection in SonarQube GitHub Action 4.0.0<6.0.0 (Windows)
CVE-2025-59844 Published on September 26, 2025

Argument injection vulnerability in SonarQube Scan Action
SonarQube Server and Cloud is a static analysis solution for continuous code quality and security inspection. A command injection vulnerability exists in SonarQube GitHub Action in version 4.0.0 to before version 6.0.0 when workflows pass user-controlled input to the args parameter on Windows runners without proper validation. This vulnerability bypasses a previous security fix and allows arbitrary command execution, potentially leading to exposure of sensitive environment variables and compromise of the runner environment. The vulnerability has been fixed in version 6.0.0. Users should upgrade to this version or later.

Vendor Advisory NVD

Vulnerability Analysis

CVE-2025-59844 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE

Weakness Type

What is a Shell injection Vulnerability?

The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

CVE-2025-59844 has been classified to as a Shell injection vulnerability or weakness.


Products Associated with CVE-2025-59844

Want to know whenever a new CVE is published for SonarSource Sonarqube? stack.watch will email you.

 

Affected Versions

SonarSource sonarqube-scan-action Version >= 4.0.0, < 6.0.0 is affected by CVE-2025-59844

Exploit Probability

EPSS
1.47%
Percentile
72.76%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.