{"id":"CVE-2025-67508","aliases":["CVE-2025-67508","GHSA-fw33-qpx7-rhx2","GO-2025-4232"],"related":[],"kind":"vulnerability","state":"published","title":"gardenctl is vulnerable to Command Injection when used with non‑POSIX shells","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A security vulnerability was discovered in [gardenctl](https://github.com/gardener/gardenctl-v2) when it is used with non‑POSIX shells such as **[Fish](https://fishshell.com/)** and **[PowerShell](https://learn.microsoft.com/en-us/powershell/)**. Such setup could allow an attacker with administrative privileges for a Gardener project to craft malicious credential values 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, leading to arbitrary command execution on the operator's device.\n\n**Am I vulnerable?**\nThis CVE affects all Gardener operators who use  **gardenctl < v2.12.0** with non‑POSIX shells such as **[Fish](https://fishshell.com/)** and **[PowerShell](https://learn.microsoft.com/en-us/powershell/)**.","format":"markdown","source":"ghsa"},{"lang":"en","text":"gardenctl is vulnerable to Command Injection when used with non‑POSIX shells in github.com/gardener/gardenctl-v2","format":"markdown","source":"go"},{"lang":"es","text":"gardenctl es un cliente de línea de comandos para Gardener que configura el acceso a clústeres y herramientas CLI de proveedores de nube. Al usar shells no POSIX como Fish y PowerShell, las versiones 2.11.0 e inferiores de gardenctl permiten a un atacante con privilegios administrativos para un proyecto de Gardener crear valores de credenciales maliciosos. Los valores de credenciales falsificados se utilizan en objetos Secret de infraestructura que escapan del contexto de cadena previsto cuando se evalúan en entornos Fish o PowerShell utilizados por los operadores de servicio de Gardener. Este problema está solucionado en la versión 2.12.0.","source":"nvd"}],"published":"2025-12-11T16:48:48.000Z","modified":"2026-10-07T20:10:01.970Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"< 2.12.0","status":"affected"}],"vendor":"gardener","product":"gardenctl-v2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20251107111549-0bdc484cb5fb"}],"ecosystem":"Go","package":"github.com/gardener/gardenctl-v2","purl":"pkg:golang/github.com/gardener/gardenctl-v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20251107111549-0bdc484cb5fb"}],"ecosystem":"Go","package":"github.com/gardener/gardenctl-v2","purl":"pkg:golang/github.com/gardener/gardenctl-v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.12.0"}],"vendor":"linuxfoundation","product":"gardenctl","cpe":"cpe:2.3:a:linuxfoundation:gardenctl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/gardener/gardenctl-v2/security/advisories/GHSA-fw33-qpx7-rhx2","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67508","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/gardener/gardenctl-v2","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-4232","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-12-18T20:32:23.732Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-67508","url":"https://www.cve.org/CVERecord?id=CVE-2025-67508","licence":"CVE Terms of Use","modified":"2025-12-18T20:32:31.249Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fw33-qpx7-rhx2","url":"https://github.com/advisories/GHSA-fw33-qpx7-rhx2","licence":"CC-BY-4.0","modified":"2026-03-24T21:16:21.730Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4232","url":"https://pkg.go.dev/vuln/GO-2025-4232","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:48.199Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-67508","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-67508","licence":"Public domain","modified":"2026-10-07T20:10:01.970Z"}],"updatedAt":"2026-11-25T22:59:09.301Z","epss":{"score":0.00265,"percentile":0.19663,"date":"2026-12-01T12:00:22.000Z"}}