CVE-2025-58178

Command Injection via sonarqube-scan-action GitHub Action

Published Sep 2, 2025 CVSS 3.1 · 7.8 High EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-26367 Command Injection via sonarqube-scan-action GitHub Action
Github GHSA Github GHSA GHSA-f79p-9c5r-xg88 Command Injection via sonarqube-scan-action GitHub Action
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sonarsource
Sonarsource sonarqube Scanner
Vendors & Products Sonarsource
Sonarsource sonarqube Scanner
Type Values Removed Values Added
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.
Title Command Injection via sonarqube-scan-action GitHub Action
Weaknesses CWE-77
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 2, 2025, 4:07 PM
Reserved
Aug 27, 2025, 1:34 PM
Status
Deferred
Published
Sep 2, 2025, 1:15 AM
Modified
Jun 17, 2026, 9:44 AM