{"answers":{"affected":"3 open source packages ship an affected version, including github.com/gardener/gardenctl-v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-67508 in the wild and no public exploit code.","fix":"Upgrade github.com/gardener/gardenctl-v2 to 0.0.0-20251107111549-0bdc484cb5fb or later.","what":"CVE-2025-67508 is a high-severity command injection vulnerability in gardener gardenctl-v2, published on 12 Dec 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-67508 and fix it if it is affected.\n\nWhat it is: CVE-2025-67508 is a high-severity command injection vulnerability in gardener gardenctl-v2, published on 12 Dec 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-67508 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/gardener/gardenctl-v2 (Go): affected all versions; fixed in 0.0.0-20251107111549-0bdc484cb5fb\n- github.com/gardener/gardenctl-v2 (Go): affected all versions; fixed in 0.0.0-20251107111549-0bdc484cb5fb\n- github.com/gardener/gardenctl-v2 (Go): affected all versions; fixed in 0.0.0-20251107111549-0bdc484cb5fb\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-67508/ (Markdown: https://insights.sbomify.com/CVE-2025-67508/index.md)","id":"CVE-2025-67508","markdown":"https://insights.sbomify.com/CVE-2025-67508/index.md","name":"CVE-2025-67508","record":{"aliases":["GHSA-fw33-qpx7-rhx2","GO-2025-4232"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Gardener CLI client","requires_auth":"low_privilege","summary":"Attackers with project admin rights can execute arbitrary commands on operator machines using non-POSIX shells via malicious credential values.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"gardenctl","vendor":"linuxfoundation"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"gardenctl is a command-line client for the Gardener which configures access to clusters and cloud provider CLI tools. When using non‑POSIX shells such as Fish and PowerShell, versions 2.11.0 and below of gardenctl allow an attacker with administrative privileges for a Gardener project to craft malicious credential values. The forged credential values are used in infrastructure Secret objects that break out of the intended string context when evaluated in Fish or PowerShell environments used by the Gardener service operators. This issue is fixed in version 2.12.0.","ecosystems":["Go"],"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":"gardenctl is vulnerable to Command Injection when used with non‑POSIX shells","id":"CVE-2025-67508","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"MySQLSelectTool Read-Only Bypass via SELECT INTO OUTFILE Allows Arbitrary File Write","id":"CVE-2025-67509"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20251107111549-0bdc484cb5fb"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardenctl-v2","purl":null,"source":"GHSA-fw33-qpx7-rhx2"},{"ecosystem":"Go","fixed":["0.0.0-20251107111549-0bdc484cb5fb"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardenctl-v2","purl":"pkg:golang/github.com/gardener/gardenctl-v2","source":"GHSA-fw33-qpx7-rhx2"},{"ecosystem":"Go","fixed":["0.0.0-20251107111549-0bdc484cb5fb"],"introduced":["0"],"last_affected":[],"package":"github.com/gardener/gardenctl-v2","purl":"pkg:golang/github.com/gardener/gardenctl-v2","source":"GO-2025-4232"}],"prev":{"headline":"Filament's multi-factor authentication (app) recovery codes can be used multiple times","id":"CVE-2025-67507"},"products":["gardenctl-v2"],"published":"2025-12-12","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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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-12-18","vendors":["gardener"]},"summary":"Attackers with project admin rights can execute arbitrary commands on operator machines using non-POSIX shells via malicious credential values.","url":"https://insights.sbomify.com/CVE-2025-67508/"}