CVE-2025-58178 Command Injection via sonarqube-scan-action GitHub Action
HighCVSS 7.8
EPSS 1.1%
- 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. In versions 4 to 5.3.0, a command injection vulnerability was discovered in the SonarQube Scan GitHub Action that allows untrusted input arguments to be processed without proper sanitization. Arguments sent to the action are treated as shell expressions, allowing potential execution of arbitrary commands. A fix has been released in SonarQube Scan GitHub Action 5.3.1.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sonarsource/sonarqube-scan-action(GitHub Actions) | >= 4.0.0, <= 5.3.0 | after 5.3.0 | Fixed |
| sonarsource/sonarqube-scan-action | = >= 4, < 5.3.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sonarsource/sonarqube-scan-action(GitHub Actions) | >= 4.0.0, <= 5.3.0 | No fix listed |
| sonarsource/sonarqube-scan-action | = >= 4, < 5.3.1 | No fix listed |
References
- https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-f79p-9c5r-xg88 vendor-advisory
- https://github.com/SonarSource/sonarqube-scan-action/pull/200 patch
- https://github.com/SonarSource/sonarqube-scan-action/commit/016cabf33a6b7edf0733e179a03ad408ad4e88ba patch
- https://community.sonarsource.com/t/security-advisory-sonarqube-scanner-github-action/147696
- https://sonarsource.atlassian.net/browse/SQSCANGHA-101
- github.com