Skip to content
OpenAdvisories
High · 8.0 CVE-2025-67508 EUVD-2025-202713GHSA-fw33-qpx7-rhx2GO-2025-4232

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

Published Dec 12, 2025 · Updated Dec 18, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
gardener gardenctl-v2 < 2.12.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251230T014957-150000.1.134.1 SUSE-SU-2026:0037-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gardener/gardenctl-v2 < 0.0.0-20251107111549-0bdc484cb5fb 0.0.0-20251107111549-0bdc484cb5fb GHSA-fw33-qpx7-rhx2

Advisories 2

References