CVE-2025-58178
HIGH 7.8CVSS 3.1Command Injection via sonarqube-scan-action GitHub Action
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.
- Published
- 2 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-77
- Also known as
- GHSA-f79p-9c5r-xg88
- Sources
- NVDJSONOSV GHSA-f79p-9c5r-xg88JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | GitHub Actions | SonarSource/sonarqube-scan-action | >= 4.0.0, < 5.3.1 | 5.3.1 |
References
- https://community.sonarsource.com/t/security-advisory-sonarqube-scanner-github-action/147696 · WEB
- https://github.com/SonarSource/sonarqube-scan-action/commit/016cabf33a6b7edf0733e179a03ad408ad4e88ba · WEB
- https://github.com/SonarSource/sonarqube-scan-action/pull/200 · WEB
- https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-f79p-9c5r-xg88 · WEB
- https://sonarsource.atlassian.net/browse/SQSCANGHA-101 · WEB
- https://github.com/SonarSource/sonarqube-scan-action · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 2 Sep 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Sep 2025)