CVE-2025-58178 Details
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.
A command injection vulnerability has been identified in the SonarQube Scanner GitHub Action, affecting versions 4.0.0 through 5.3.0. The vulnerability allows untrusted input arguments to be processed without adequate sanitization, treating them as shell expressions and potentially enabling the execution of arbitrary commands.
Users can upgrade to SonarQube Scanner GitHub Action version 5.3.1 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 2, 2025CISA-ADP
Assessed Sep 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://community.sonarsource.com/t/security-advisory-sonarqube-scanner-github-action/147696 | [email protected] | AdvisoryVendor |
| https://github.com/SonarSource/sonarqube-scan-action/commit/016cabf33a6b7edf0733e179a03ad408ad4e88ba | [email protected] | Source CodeVendor |
| https://github.com/SonarSource/sonarqube-scan-action/pull/200 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-f79p-9c5r-xg88 | [email protected] | |
| https://sonarsource.atlassian.net/browse/SQSCANGHA-101 | [email protected] | Issue TrackingPermission RequiredVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SonarSource sonarqube-scan-action | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 2, 2025 | New CVE Received | [email protected] |
Volerion