Read the docs
TI-2025-37283 Aliases CVE-2025-59844GHSA-5xq9-5g24-4g6f

Argument injection vulnerability in SonarQube Scan Action

Priority LOW 39CWE-78Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01469 73rd percentileScored 2026-11-07
Fix Fixed sonarqube-scan-action (SonarSource): 6.0.0SonarSource/sonarqube-scan-action (GitHub Actions): 6.0.0

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

VendorProductAffected versionsFixed inStatusSource
SonarSourcesonarqube-scan-action4.0.0 to before 6.0.06.0.0Patch availableCNA
—SonarSource/sonarqube-scan-action (GitHub Actions)4.0.0 to before 6.0.06.0.0Patch availableGHSA-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

  1. 2026-10-02 Threatist record created from CVE-2025-59844
  2. 2026-10-03 Alias added: GHSA-5xq9-5g24-4g6f

References

  • 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
See all 11 →

Sources