CVE-2025-58178 json
Command Injection via sonarqube-scan-action GitHub Action
published 2025-09-02 14 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-26367 , GHSA-f79p-9c5r-xg88
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github-actions SonarSource/sonarqube-scan-action 5.3.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 14 mo ago
Exploit prediction
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| github-actions | SonarSource/sonarqube-scan-action | >=4.0.0, <5.3.1 |
5.3.1 |
Affected products
- SonarSource sonarqube-scan-action
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/SonarSource/sonarqube-scan-action/pull/200
web
-
github.com
/SonarSource/sonarqube-scan-action/commit/016cabf33a6b7edf0733e179a03ad408ad4e88ba
web
-
github.com
/SonarSource/sonarqube-scan-action/security/advisories/GHSA-f79p-9c5r-xg88
web
-
community.sonarsource.com
/t/security-advisory-sonarqube-scanner-github-action/147696
web
-
sonarsource.atlassian.net
/browse/SQSCANGHA-101
web
-
github.com
/SonarSource/sonarqube-scan-action
package
Sources
- CVE List CVE-2025-58178
- GitHub Advisory GHSA-f79p-9c5r-xg88
- NVD CVE-2025-58178
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.