CVE-2025-58178
SonarQube Server and Cloud is a static analysis solution for …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- community.sonarsource.com/t/security-advisory-sonarqube-scanner-github-action/147696
- github.com/SonarSource/sonarqube-scan-action/commit/016cabf33a6b7edf0733e179a03ad408ad4e88
- github.com/SonarSource/sonarqube-scan-action/pull/200
- github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-f79p-9c5r-xg88
- sonarsource.atlassian.net/browse/SQSCANGHA-101
- github.com/advisories/GHSA-f79p-9c5r-xg88
- nvd.nist.gov/vuln/detail/CVE-2025-58178
- cve.org/CVERecord?id=CVE-2025-58178
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.