Overview

Kyverno versions from 1.19.1 up to, but not including, 1.19.2 are vulnerable to an authorization bypass in the apiCall namespace clamp. By appending malformed percent-escapes to the URL path, a tenant can cause the admission-controller ServiceAccount to execute API calls beyond its intended namespace, enabling privilege escalation.

Technical details

The vulnerability resides in the apiCall namespace clamp handling of URL paths. When a tenant supplies a URL with specially crafted percent-escaped characters, the parsing logic fails to enforce namespace boundaries, allowing the request to be interpreted as cross-namespace or cluster-scoped. Exploitation requires the attacker to have the ability to create namespaced Policy resources that invoke the vulnerable apiCall.

Impact

An attacker who can create policies in a compromised namespace can read resources from other namespaces, create mutating webhook configurations, and ultimately gain cluster-admin privileges. All clusters running the affected Kyverno version are at risk.

Recommended actions

  • Patch to a version that addresses the authorization bypass, as per the vendor advisory.
  • Mitigate by limiting creation of Policy resources to trusted administrators.
  • Restrict network access to the Kyverno admission-controller service to internal management networks.
  • Monitor for unexpected cross-namespace API calls and new mutating webhook resources.

Detection

Review audit logs for apiCall namespace clamp usage, focusing on URL paths with percent-escaped characters. Flag any Policy creations that reference resources outside their own namespace and alert on the creation of mutating webhook configurations that were not previously authorized. Correlate these events with privileged account activity to identify potential escalation attempts.

Reference: NVD entry for CVE-2026-124440