CVE-2025-67508: gardenctl is vulnerable to Command Injection when used with non‑POSIX shells
A security vulnerability was discovered in gardenctl when it is used with non‑POSIX shells such as Fish and 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.
Am I vulnerable? This CVE affects all Gardener operators who use gardenctl < v2.12.0 with non‑POSIX shells such as Fish and PowerShell.
Other sources
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.
— NVD
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-67508?
CVE-2025-67508 is considered a high severity vulnerability due to potential unauthorized access via non-POSIX shells.
How do I fix CVE-2025-67508?
To fix CVE-2025-67508, upgrade to version 0.0.0-20251107111549-0bdc484cb5fb or later of gardenctl.
What software is affected by CVE-2025-67508?
CVE-2025-67508 affects the gardenctl tool when used in conjunction with non-POSIX shells like Fish and PowerShell.
Who can be impacted by CVE-2025-67508?
System administrators using gardenctl with non-POSIX shells may be impacted by CVE-2025-67508.
Is there a known exploitation method for CVE-2025-67508?
Yes, CVE-2025-67508 could allow an attacker with administrative privileges to exploit the vulnerability through non-POSIX shells.