Arbitrary Command Injection Affecting github.com/gardener/gardenctl-v2/pkg/provider/common/allowpattern package, versions <2.12.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGARDENERGARDENCTLV2PKGPROVIDERCOMMONALLOWPATTERN-14401293
  • published12 Dec 2025
  • disclosed11 Dec 2025
  • creditPeter Sutter

Introduced: 11 Dec 2025

CVE-2025-67508  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade github.com/gardener/gardenctl-v2/pkg/provider/common/allowpattern to version 2.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection via the evaluation of credential values in non-POSIX shell environments. An attacker can execute arbitrary commands on the operator's device by crafting malicious credential values in infrastructure Secret objects that are processed in Fish or PowerShell environments.

References

CVSS Base Scores

version 4.0
version 3.1