CVE-2025-59844 Details
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.
A command injection vulnerability has been identified in the SonarQube GitHub Action, specifically in versions 4.0.0 prior to 6.0.0. This vulnerability arises when workflows on Windows runners pass user-controlled input to the 'args' parameter without adequate validation. As a result, the vulnerability bypasses a previous security fix, allowing arbitrary command execution. This exploitation could lead to the exposure of sensitive environment variables and compromise the runner environment.
Users are advised to upgrade to SonarQube GitHub Action version 6.0.0 or later.
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 26, 2025CISA-ADP
Assessed Sep 26, 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/sonarqube-scanner-github-action-v6/149281 | [email protected] | Mailing ListVendor |
| https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0 | [email protected] | Release NotesVendor |
| https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-5xq9-5g24-4g6f | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SonarSource SonarQube GitHub Action | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 9, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 26, 2025 | New CVE Received | [email protected] |
Volerion