Skip to content

Conversation

@garotm
Copy link
Member

@garotm garotm commented Oct 23, 2025

Command Injection via sonarqube-scan-action GitHub Action #1
Impact
A command injection vulnerability was discovered in the SonarQube Scan GitHub Action that allows untrusted input arguments to be processed without proper sanitization. Arguments sent to the action are treated as shell expressions, allowing potential execution of arbitrary commands.

Patches
A fix has been released in SonarQube Scan GitHub Action v5.3.1.

Argument injection vulnerability in SonarQube Scan Action #2
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.

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


Note

Updates .github/workflows/sonarcloud.yml to use SonarSource/sonarqube-scan-action@v6.0.0.

Written by Cursor Bugbot for commit 27f26be. This will update automatically on new commits. Configure here.

@garotm garotm self-assigned this Oct 23, 2025
@garotm garotm added this to fleXRP Oct 23, 2025
@garotm garotm added the bug Something isn't working label Oct 23, 2025
@garotm garotm moved this to In Progress in fleXRP Oct 23, 2025
@sonarqubecloud
Copy link

@garotm garotm added security Dependabot security issues and removed bug Something isn't working labels Oct 23, 2025
@garotm garotm requested a review from a team October 23, 2025 23:47
Copy link
Member Author

@garotm garotm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVED

@garotm garotm merged commit 0efcf80 into main Oct 23, 2025
17 checks passed
@garotm garotm deleted the security/sonarqube branch October 23, 2025 23:58
@github-project-automation github-project-automation bot moved this from In Progress to Done in fleXRP Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Dependabot security issues

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants