GitHub Advisoryadvisory · GitHub Actions
GHSA-f79p-9c5r-xg88 Command Injection via sonarqube-scan-action GitHub Action
HIGH
Official page ↗
- Aliases
- CVE-2025-58178
- Ecosystem
- GitHub Actions
- Packages
- SonarSource/sonarqube-scan-action
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77
- Reviewed
- 2025-09-02
Affected packages
• GitHub Actions SonarSource/sonarqube-scan-action: >= 4.0.0, < 5.3.1 → fixed in 5.3.1
Description
Impact
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.
Patches
A fix has been released in SonarQube Scan GitHub Action v5.3.1.
Related
Alias · CVE (1)
- CVE-2025-58178 SonarQube Server and Cloud is a static analysis solution for continuous code quality and security inspection. vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-f79p-9c5r-xg88 web
- https://github.com/SonarSource/sonarqube-scan-action/pull/200 web
- https://github.com/SonarSource/sonarqube-scan-action/commit/016cabf33a6b7edf0733e179a03ad408ad4e88ba web
- https://community.sonarsource.com/t/security-advisory-sonarqube-scanner-github-action/147696 web
- https://github.com/SonarSource/sonarqube-scan-action package
- https://sonarsource.atlassian.net/browse/SQSCANGHA-101 web