VYPR
High severityOSV Advisory· Published Dec 12, 2025· Updated Dec 18, 2025

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

CVE-2025-67508

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 packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/gardener/gardenctl-v2Go
< 0.0.0-20251107111549-0bdc484cb5fb0.0.0-20251107111549-0bdc484cb5fb

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.