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

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.00%, higher than 88% of CVEs (2026-11-30)
- Published: 2025-09-26T13:01:10.000Z
- Modified: 2026-10-09T10:10:00.193Z
- Also known as: GHSA-5xq9-5g24-4g6f
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- SonarSource sonarqube-scan-action: >= 4.0.0, < 6.0.0
- SonarSource/sonarqube-scan-action (GitHub Actions): from 4.0.0 before 6.0.0

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-5xq9-5g24-4g6f> (web)
- <https://community.sonarsource.com/t/sonarqube-scanner-github-action-v6/149281> (web)
- <https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59844> (advisory)
- <https://github.com/SonarSource/sonarqube-scan-action> (package)

## Sources

- CVE List: [CVE-2025-59844](https://www.cve.org/CVERecord?id=CVE-2025-59844), CVE Terms of Use, modified 2025-09-26
- GitHub Advisory Database: [GHSA-5xq9-5g24-4g6f](https://github.com/advisories/GHSA-5xq9-5g24-4g6f), CC-BY-4.0, modified 2025-09-29
- NVD: [CVE-2025-59844](https://nvd.nist.gov/vuln/detail/CVE-2025-59844), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2025-59844 · Whole record: https://cve.day/CVE-2025-59844.json · Rebuilt by cve.day 2026-11-25T22:59:05.254Z
