CVE-2025-59844

Argument injection vulnerability in SonarQube Scan Action

Published Sep 26, 2025 CVSS 4.0 · 7.7 High EPSS 1.5% KEV · Not listed
Description
SonarQube Server and Cloud is a static analysis solution for continuous code quality and security inspection. A command injection vulnerability exists in SonarQube GitHub Action in version 4.0.0 to before version 6.0.0 when workflows pass user-controlled input to the args parameter on Windows runners without proper validation. This vulnerability bypasses a previous security fix and allows arbitrary command execution, potentially leading to exposure of sensitive environment variables and compromise of the runner environment. The vulnerability has been fixed in version 6.0.0. Users should upgrade to this version or later.

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-31338 Argument injection vulnerability in SonarQube Scan Action
Github GHSA Github GHSA GHSA-5xq9-5g24-4g6f Argument injection vulnerability in SonarQube Scan Action
History
Type Values Removed Values Added
First Time appeared Microsoft
Microsoft windows
Sonarsource
Sonarsource sonarqube Scanner
Vendors & Products Microsoft
Microsoft windows
Sonarsource
Sonarsource sonarqube Scanner
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description SonarQube Server and Cloud is a static analysis solution for continuous code quality and security inspection. A command injection vulnerability exists in SonarQube GitHub Action in version 4.0.0 to before version 6.0.0 when workflows pass user-controlled input to the args parameter on Windows runners without proper validation. This vulnerability bypasses a previous security fix and allows arbitrary command execution, potentially leading to exposure of sensitive environment variables and compromise of the runner environment. The vulnerability has been fixed in version 6.0.0. Users should upgrade to this version or later.
Title Argument injection vulnerability in SonarQube Scan Action
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 26, 2025, 5:31 PM
Reserved
Sep 22, 2025, 2:34 PM
Status
Deferred
Published
Sep 26, 2025, 5:15 PM
Modified
Oct 9, 2026, 10:10 AM