Advisory

GHSA-fw33-qpx7-rhx2

Also known as: CVE-2025-67508, GO-2025-4232

Summary

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

Details

A security vulnerability was discovered in gardenctl when it is used with non‑POSIX shells such as [Fish](https://fishshell.com/) and [PowerShell](https://learn.microsoft.com/en-us/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](https://fishshell.com/) and [PowerShell](https://learn.microsoft.com/en-us/powershell/).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-12-11 16:48 UTC
Modified
2026-03-24 21:16 UTC

Affected packages and fixes

github.com/gardener/gardenctl-v2

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20251107111549-0bdc484cb5fb (semver)

Fixed versions

0.0.0-20251107111549-0bdc484cb5fb

Fix

  • Fixed version 0.0.0-20251107111549-0bdc484cb5fb
    go get github.com/gardener/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences