Argument injection vulnerability in SonarQube Scan Action
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| SonarSource | sonarqube-scan-action | 4.0.0 to before 6.0.0 | 6.0.0 | Patch available | CNA |
| — | SonarSource/sonarqube-scan-action (GitHub Actions) | 4.0.0 to before 6.0.0 | 6.0.0 | Patch available | GHSA-5xq9-5g24-4g6f |
- sonarqube-scan-action VendorSonarSource Affected 4.0.0 to before 6.0.0 Fixed in 6.0.0 Patch available CNA
- SonarSource/sonarqube-scan-action (GitHub Actions) Vendor— Affected 4.0.0 to before 6.0.0 Fixed in 6.0.0 Patch available GHSA-5xq9-5g24-4g6f
Remediation
- Fix · CNA sonarqube-scan-action (SonarSource) Fixed in 6.0.0
- Fix · GHSA-5xq9-5g24-4g6f SonarSource/sonarqube-scan-action (GitHub Actions) Fixed in 6.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59844
- 2026-10-03 Alias added: GHSA-5xq9-5g24-4g6f
References
Other 4
More SonarSource vulnerabilities
- TI-2020-17021 SonarQube 8.4.2.36762 allows remote attackers to discover cleartext SMTP, SVN, and GitLab… CVSS 3.1HIGH 7.5
- TI-2020-17875 The official sonarqube docker images before alpine (Alpine specific) contain a blank… CVSS 3.1CRITICAL 9.8
- TI-2025-35986 Command Injection via sonarqube-scan-action GitHub Action CVSS 3.1HIGH 7.8
- TI-2024-32164 In SonarSource SonarQube 10.4 through 10.5 before 10.6, a vulnerability was discovered in… CVSS 3.1HIGH 7.2
- TI-2018-15898 An insufficiently protected credentials vulnerability exists in Jenkins SonarQube Scanner… CVSS 3.0HIGH 7.8
- TI-2024-25703 In SonarQube before 10.4 and 9.9.4 LTA, encrypted values generated using the Settings… CVSS 3.1MEDIUM 6.5
Sources
- CVE-2025-59844 · CVE Program
- CVE-2025-59844 · NVD
- FIRST EPSS
- GHSA-5xq9-5g24-4g6f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences