All reports
High

gardenctl is vulnerable to Command Injection when used with non‑POSIX shells

Affected versions

Version ranges need review.

Affected versions
<0.0.0-20251107111549-0bdc484cb5fb
Fixed version
0.0.0-20251107111549-0bdc484cb5fb
Affected versions
< 0.0.0-20251107111549-0bdc484cb5fb
Fixed version
0.0.0-20251107111549-0bdc484cb5fb

Exploitation

CVE-2025-67508

Probability of exploitation in the next 30 days: 0.27%

FIRST EPSS · 2026-11-23

Description

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.

Links

Credits

  • petersutter
  • donistz
  • JordanJordanov
  • HeckEK