Missing Authorization
CVE-2026-54523
Summary
Kyverno is a policy engine designed for cloud native platform engineering teams. From v1.18.0 prior to v1.18.2-rc.1, 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 v1.18.2-rc.1.
- LOW
- NETWORK
- HIGH
- CHANGED
- NONE
- LOW
- HIGH
- NONE
CWE-862 - Missing Authorization
The missing authorization vulnerability occurs when a software program allows users to access privileged parts of the program without verifying the user credentials. Impact of such a vulnerability depends on the resources employed by the software, ranging from account takeover to sensitive information exposure, denial of service, and complete system takeover.
References
Advisory Timeline
- Published