{"apiVersion":"1.0","identifier":"CVE-2026-54523","description":"Kyverno is a policy engine designed for cloud native platform engineering teams. From 1.18.0 until 1.18.2, the NamespacedMutatingPolicy CEL compiler exposes the generator library to matchConditions, allowing a namespace-scoped policy to invoke generator.apply(namespace, resources) with an arbitrary target namespace. The validation in pkg/cel/policies/mpol/validate.go checks that the policy compiles but does not enforce namespace scope, and GenerateResources in pkg/cel/libs/context.go does not reject the cross-namespace target. A user who can create NamespacedMutatingPolicy objects in one namespace can cause the admission controller, operating with cluster-wide privileges, to create ConfigMaps, NetworkPolicies, Secrets, RoleBindings, and other resources in another namespace, enabling unauthorized modification and potential privilege escalation. This issue is fixed in version 1.18.2.","publishedAt":"2026-08-26T15:16:48","lastModifiedAt":"2026-08-26T16:16:27","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-54523","cvssScore":9.6,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","epssProbability":0.00401,"riskScore":0.99,"affectedProduct":"Kyverno","affectedVersions":">=1.18.0,<1.18.2","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-54523","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-54523","en":"https://www.redsauce.net/en/cves/CVE-2026-54523","fr":"https://www.redsauce.net/fr/cves/CVE-2026-54523","pt":"https://www.redsauce.net/pt/cves/CVE-2026-54523","de":"https://www.redsauce.net/de/cves/CVE-2026-54523","sk":"https://www.redsauce.net/sk/cves/CVE-2026-54523","el":"https://www.redsauce.net/el/cves/CVE-2026-54523"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-54523"}}