SonarSource sonarqube-scan-action
Argument injection vulnerability in SonarQube Scan Action
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.0.0, < 6.0.0
Fixed in 6.0.0
Mitigation
Upgrade sonarqube-scan-action to 6.0.0 or later.
References
- Vendor advisory github.com/SonarSource/sonarqube-scan-action/s…
- Release notes github.com/SonarSource/sonarqube-scan-action/r…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.