CVE-2025-59844: Argument injection vulnerability in SonarQube Scan Action
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.
CWE-78
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
SonarSource: sonarqube-scan-action
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- community.sonarsource.com/t/sonarqube-scanner-github-action-v6/149281 (opens in new tab)
- github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0 (opens in new tab)
- github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-5xq9-5g24-… (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)