CVE-2025-59844 Argument injection vulnerability in SonarQube Scan Action
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sonarsource/sonarqube-scan-action(GitHub Actions) | >= 4.0.0, < 6.0.0 | 6.0.0 | Fixed |
| sonarsource/sonarqube-scan-action | = >= 4.0.0, < 6.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sonarsource/sonarqube-scan-action(GitHub Actions) | >= 4.0.0, < 6.0.0 | 6.0.0 |
| sonarsource/sonarqube-scan-action | = >= 4.0.0, < 6.0.0 | No fix listed |
References
- https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-5xq9-5g24-4g6f vendor-advisory
- https://community.sonarsource.com/t/sonarqube-scanner-github-action-v6/149281
- https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0
- nvd.nist.gov third-party-advisory
- github.com