{"answers":{"affected":"1 open source package ship an affected version, including SonarSource/sonarqube-scan-action.","exploited":"There is no known exploitation of CVE-2025-59844 in the wild and no public exploit code.","fix":"Upgrade SonarSource/sonarqube-scan-action to 6.0.0 or later.","what":"CVE-2025-59844 is a high-severity command injection vulnerability in SonarSource sonarqube-scan-action, published on 26 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-59844 and fix it if it is affected.\n\nWhat it is: CVE-2025-59844 is a high-severity command injection vulnerability in SonarSource sonarqube-scan-action, published on 26 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-59844 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- SonarSource/sonarqube-scan-action (GitHub Actions): affected from 4.0.0; fixed in 6.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59844/ (Markdown: https://insights.sbomify.com/CVE-2025-59844/index.md)","id":"CVE-2025-59844","markdown":"https://insights.sbomify.com/CVE-2025-59844/index.md","name":"CVE-2025-59844","record":{"aliases":["GHSA-5xq9-5g24-4g6f"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"GitHub Actions","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary commands on Windows runners via the args parameter, exposing sensitive data and compromising the environment.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":["GitHub Actions"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Argument injection vulnerability in SonarQube Scan Action","id":"CVE-2025-59844","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"GitHub Actions","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":1,"n_references":3,"next":{"headline":"Apollo Embedded Sandbox and Explorer vulnerable to CSRF via window.postMessage origin-validation bypass","id":"CVE-2025-59845"},"packages":[{"ecosystem":"GitHub Actions","fixed":["6.0.0"],"introduced":["4.0.0"],"last_affected":[],"package":"SonarSource/sonarqube-scan-action","purl":null,"source":"GHSA-5xq9-5g24-4g6f"}],"prev":{"headline":"FlagForgeCTF Exposes User Emails via Public /api/user/[username] API","id":"CVE-2025-59843"},"products":["sonarqube-scan-action"],"published":"2025-09-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-26","vendors":["SonarSource"]},"summary":"Attackers can execute arbitrary commands on Windows runners via the args parameter, exposing sensitive data and compromising the environment.","url":"https://insights.sbomify.com/CVE-2025-59844/"}