CVE-2025-67508 gardenctl is vulnerable to Command Injection when used with non‑POSIX shells
HighCVSS 8.4
EPSS 0.27%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gardener github.com/gardener/gardenctl-v2(Go) | < 0.0.0-20251107111549-0bdc484cb5fb | 0.0.0-20251107111549-0bdc484cb5fb |
| gardener github.com/gardener/gardenctl-v2 | = < 2.12.0 | No fix listed |
| linuxfoundation gardenctl | < 2.12.0 | 2.12.0 |
References
- https://github.com/gardener/gardenctl-v2/security/advisories/GHSA-fw33-qpx7-rhx2 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- pkg.go.dev
- github.com