Menu

Kyverno's namespace clamp failed on a percent-encoded path
📰

Kyverno's namespace clamp failed on a percent-encoded path

DEV Community: kubernetes·jeffrey·6 days ago
#N9SpmUTx
#devtokubernetes#devto#dev#policy#namespace
Reading 0:00
15s threshold

Kyverno's namespace clamp failed on a percent-encoded path

Kyverno policies can call Kubernetes APIs on behalf of a namespace tenant. That makes the admission controller a useful bridge: a policy can read related objects without granting the tenant direct cluster-wide access. CVE-2026-124440 breaks that bridge when a malformed percent-escape in urlPath lets the caller escape the namespace clamp.

The GitHub-reviewed advisory and CVE record describe an authorization bypass in Kyverno 1.19.1 before 1.19.2. A namespace tenant can issue cross-namespace and cluster-scoped API requests by appending malformed percent-escapes to the path. The request is executed with the Kyverno admission controller's ServiceAccount, not with the requesting user's identity.

That distinction is the security problem. The controller is expected to constrain a policy's API call to the namespace where the policy applies. When the clamp is bypassed, the controller's own authority becomes the attacker's authority.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.