—
GO-2026-6296
Kyverno's NamespacedGeneratingPolicy generator.apply() namespace argument unvalidated -- background controller creates RoleBindings in any namespace including kube-system in github.com/kyverno/kyverno
Quick fix
GO-2026-6296 — github.com/kyverno/kyverno: upgrade to the fixed version with the command below.
go get github.com/kyverno/kyverno@v1.18.2 Details
Kyverno's NamespacedGeneratingPolicy generator.apply() namespace argument unvalidated -- background controller creates RoleBindings in any namespace including kube-system in github.com/kyverno/kyverno
Are you affected?
Enter the version of the package you're using.
Affected packages
Go / github.com/kyverno/kyverno
Introduced in:
1.18.0 Fixed in: 1.18.2 Fix
go get github.com/kyverno/kyverno@v1.18.2 References
- https://github.com/kyverno/kyverno/security/advisories/GHSA-79gf-7frw-68m9 [ADVISORY]
- https://github.com/kyverno/kyverno/commit/0919553c0ea1904f8d891280c92018da97946a06 [FIX]
- https://github.com/kyverno/kyverno/commit/5164bcdeda5b57678bc2d7a03ecc2cbb02982dae [FIX]
- https://github.com/kyverno/kyverno/pull/16238 [FIX]
- https://github.com/kyverno/kyverno/releases/tag/v1.18.2 [WEB]
- https://github.com/kyverno/sdk/commit/6573937441443e1ba5af9fbb28d5c0f20297f9df [WEB]