Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gardener/gardenctl-v2
  4. ›
  5. CVE-2025-67508

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

December 11, 2025 (updated December 12, 2025)

A security vulnerability was discovered for 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.

References

  • github.com/advisories/GHSA-fw33-qpx7-rhx2
  • github.com/gardener/gardenctl-v2
  • github.com/gardener/gardenctl-v2/security/advisories/GHSA-fw33-qpx7-rhx2
  • nvd.nist.gov/vuln/detail/CVE-2025-67508

Code Behaviors & Features

Detect and mitigate CVE-2025-67508 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20251107111549-0bdc484cb5fb

Fixed versions

  • 0.0.0-20251107111549-0bdc484cb5fb

Solution

Upgrade to version 0.0.0-20251107111549-0bdc484cb5fb or above.

Impact 8 HIGH

CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

go/github.com/gardener/gardenctl-v2/CVE-2025-67508.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:19:40 +0000.