CVE-2025-59844
HIGH 7.7CVSS 4.0Argument 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.
- Published
- 26 Sep 2025
- Last modified
- 9 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-5xq9-5g24-4g6f
- Sources
- NVDJSONOSV GHSA-5xq9-5g24-4g6fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.7 | 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/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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | GitHub Actions | SonarSource/sonarqube-scan-action | >= 4.0.0, < 6.0.0 | 6.0.0 |
References
- https://community.sonarsource.com/t/sonarqube-scanner-github-action-v6/149281 · WEB
- https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0 · WEB
- https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-5xq9-5g24-4g6f · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-59844 · ADVISORY
- https://github.com/SonarSource/sonarqube-scan-action · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 26 Sep 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Sep 2025)