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

Published Dec 11, 2025
·
Updated

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

Other sources

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.

NVD

Affected Software

2 affected componentsFixes available
go/github.com/gardener/gardenctl-v2<0.0.0-20251107111549-0bdc484cb5fb
0.0.0-20251107111549-0bdc484cb5fb
linuxfoundation Gardenctl<2.12.0

Event History

Dec 11, 2025
Advisory Published
via GitHub·04:48 PM
Data Sourced
via GitHub·04:48 PM
DescriptionSeverityWeaknessAffected Software
Dec 12, 2025
CVE Published
via MITRE·05:20 AM
Data Sourced
via MITRE·05:20 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-67508?

CVE-2025-67508 is considered a high severity vulnerability due to potential unauthorized access via non-POSIX shells.

2

How do I fix CVE-2025-67508?

To fix CVE-2025-67508, upgrade to version 0.0.0-20251107111549-0bdc484cb5fb or later of gardenctl.

3

What software is affected by CVE-2025-67508?

CVE-2025-67508 affects the gardenctl tool when used in conjunction with non-POSIX shells like Fish and PowerShell.

4

Who can be impacted by CVE-2025-67508?

System administrators using gardenctl with non-POSIX shells may be impacted by CVE-2025-67508.

5

Is there a known exploitation method for CVE-2025-67508?

Yes, CVE-2025-67508 could allow an attacker with administrative privileges to exploit the vulnerability through non-POSIX shells.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203