CVE-2026-54523: Kyverno's NamespacedGeneratingPolicy generator.apply() namespace argument unvalidated -- background controller creates RoleBindings in any namespace including kube-system
In Kyverno v1.18.1, a tenant who can create a NamespacedMutatingPolicy in their own namespace can instruct the admission controller to generate resources in any namespace by passing an arbitrary namespace string to the CEL generator.apply(namespace, resources) function.
References
- github.com/advisories/GHSA-79gf-7frw-68m9
- github.com/kyverno/kyverno/commit/0919553c0ea1904f8d891280c92018da97946a06
- github.com/kyverno/kyverno/commit/5164bcdeda5b57678bc2d7a03ecc2cbb02982dae
- github.com/kyverno/kyverno/pull/16238
- github.com/kyverno/kyverno/releases/tag/v1.18.2
- github.com/kyverno/kyverno/security/advisories/GHSA-79gf-7frw-68m9
- github.com/kyverno/sdk/commit/6573937441443e1ba5af9fbb28d5c0f20297f9df
- nvd.nist.gov/vuln/detail/CVE-2026-54523
Code Behaviors & Features
Detect and mitigate CVE-2026-54523 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 →