GHSA-5XQ9-5G24-4G6F
Vulnerability from github – Published: 2025-09-26 13:01 – Updated: 2025-09-29 14:23A command injection vulnerability exists in SonarQube GitHub Action prior to v6.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.
Patches
The vulnerability has been fixed in version v6.0.0. Users should upgrade to this version or later.
Credits
Francois Lajeunesse-Robert (Boostsecurity.io)
References
- Community Post: https://community.sonarsource.com/t/sonarqube-scanner-github-action-v6/149281
- Fix release: https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0
{
"affected": [
{
"package": {
"ecosystem": "GitHub Actions",
"name": "SonarSource/sonarqube-scan-action"
},
"ranges": [
{
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "6.0.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-59844"
],
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2025-09-26T13:01:10Z",
"nvd_published_at": "2025-09-26T17:15:36Z",
"severity": "HIGH"
},
"details": "A command injection vulnerability exists in SonarQube GitHub Action prior to v6.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.\n\n\n### Patches\nThe vulnerability has been fixed in version v6.0.0. Users should upgrade to this version or later.\n\n\n### Credits\nFrancois Lajeunesse-Robert (Boostsecurity.io)\n\n\n### References\n- Community Post: https://community.sonarsource.com/t/sonarqube-scanner-github-action-v6/149281 \n- Fix release: https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0",
"id": "GHSA-5xq9-5g24-4g6f",
"modified": "2025-09-29T14:23:15Z",
"published": "2025-09-26T13:01:10Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/SonarSource/sonarqube-scan-action/security/advisories/GHSA-5xq9-5g24-4g6f"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59844"
},
{
"type": "WEB",
"url": "https://community.sonarsource.com/t/sonarqube-scanner-github-action-v6/149281"
},
{
"type": "PACKAGE",
"url": "https://github.com/SonarSource/sonarqube-scan-action"
},
{
"type": "WEB",
"url": "https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "Argument injection vulnerability in SonarQube Scan Action"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.