CVE-2025-58178
published high CVSS 3.1 · 7.8Command Injection via sonarqube-scan-action GitHub Action
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SonarSource | — | sonarqube-scan-action>= 4, < 5.3.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SonarSource | sonarqube-scan-action | >= 4, < 5.3.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
5- https://community.sonarsource.com/t/security-advisory-sonarqube-scanner-github-action/147696
- https://github.com/SonarSource/sonarqube-scan-action/commit/016cabf33a6b7edf0733e179a03ad408ad4e88ba
- https://github.com/SonarSource/sonarqube-scan-action/pull/200
- https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-f79p-9c5r-xg88
- https://sonarsource.atlassian.net/browse/SQSCANGHA-101
Provider assertions
2GitHub_M · cna
Command Injection via sonarqube-scan-action GitHub Action
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a3fb88b38a6d27cf2f0afac260fc7cf42418de939b2198d8b135fc5ef66731c6
- Ingested
- 23 Sep 2026, 08:53:54 UTC
- Source record
- Official CVE record