Vulnerability · Published Sep 26, 2025 · Assigned by GitHub_M
CVE-2025-59844Argument injection vulnerability in SonarQube Scan Action
High 7.7
In plain English
A high-severity OS command injection in sonarqube-scan-action from SonarSource. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| SonarSource | sonarqube-scan-action | >= 4.0.0, < 6.0.0 |
Weakness: CWE-78 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N