Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as namespace admin
-
DeliveryCreate namespaced CleanupPolicy with apiCall/globalReference context
-
ExploitCleanup controller loads context with nil policy
-
ExecutionAct via cluster-scoped cleanup ServiceAccount
-
PersistRead cross-namespace Secrets and modify validatingwebhookconfigurations
-
ImpactDisable Kyverno enforcement cluster-wide
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated principal with namespace-admin RBAC that can create namespaced CleanupPolicy objects - a grant the shipped Kyverno chart (rbac.roles.aggregate.admin: true) adds to the built-in admin ClusterRole by default - and the cleanup controller must be running, which it is by default. The attacker must author a namespaced CleanupPolicy whose spec.context contains an apiCall or globalReference entry (ConfigMap and ImageRegistry entries are blocked by ValidateContext, but apiCall and globalReference are not). Affected Kyverno versions are 1.17.0 up to and including 1.19.1; fixed in 1.19.2. Limiting factors: requires the namespace-admin role rather than full unauthenticated access, requires the default-enabled cleanup controller, and is closed by upgrading to 1.19.2 (the vendor's loader fix passes the real policy so both existing confinement clamps engage). |
| Impact | This is a genuine high-priority issue, not a high-CVSS-but-low-risk paper cut. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes network-reachable, low-complexity exploitation requiring only low privilege and no user interaction, with high impact to both the vulnerable system (VC:H/VI:H/VA:H) and subsequent systems (SC:H/SI:H/SA:H) - the subsequent-system metrics capture that a namespaced tenant crosses into cluster-scoped control. The vuln.today Decision label is act_now, consistent with that impact. The decisive signal is the precondition: exploitation needs PR:L (an authenticated namespace admin), and the vendor's own shipped Helm chart grants 'create cleanuppolicies' to every namespace admin by default while the cleanup controller runs by default - so the required privilege is a role Kubernetes operators hand out routinely, and the attacker reaches the cleanup controller's ServiceAccount, which holds cluster-wide create/update/delete on validatingwebhookconfigurations. Signals that TEMPER urgency assessment: no EPSS score is provided and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation - the priority rests on the low precondition and high reachable capability, not on observed in-the-wild activity. A PoC reference is described in the advisory (runnable Go tests against production constructors) but the input does not confirm it as published, working exploit code. Net: treat as act_now for Kyverno operators in the affected range, but recognize exploitation is authenticated (namespace-admin) rather than fully unauthenticated. |
| Exploit ScenarioDerived | A tenant with namespace-admin rights (which the default Kyverno chart grants) creates a namespaced CleanupPolicy whose spec.context includes an apiCall or globalReference entry; because the cleanup controller builds its context loader with a nil policy, the namespace confinement clamps are inert and the request runs under the cleanup controller's cluster-scoped ServiceAccount. The attacker reads Secrets in other namespaces and modifies validatingwebhookconfigurations to disable Kyverno enforcement cluster-wide or exfiltrate every admitted object. A PoC reference exists in the advisory as runnable Go tests exercising the production constructors; it is not verified as published working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Kyverno 1.17.0 through 1.19.1 lets a namespace-admin tenant escape namespace confinement through the cleanup controller: when the controller builds its context loader for a namespaced CleanupPolicy it passes a nil policy, so the namespace that every guarded loader receives is the empty string and the apiCall urlPath clamp and globalReference denial built for earlier CVEs never engage. Using a namespaced CleanupPolicy with apiCall or globalReference entries, a principal holding only the create cleanuppolicies grant that the shipped chart aggregates into the built-in admin ClusterRole can make the cleanup controller's ServiceAccount read cross-namespace Secrets and create, update or delete validatingwebhookconfigurations cluster-wide (plus patch PolicyException), which is enough to disable Kyverno enforcement entirely or install a webhook that exfiltrates every admitted object. Exploitation requires an authenticated namespace-admin principal (PR:L) and the default-enabled cleanup controller; 1.19.2 fixes it, and the vendor advisory carries a public PoC reference in the form of runnable Go tests - it is not verified as working exploit code. The vuln.today decision label is act_now.
RemediationAI
Upgrade Kyverno to 1.19.2 or later - the vendor-released patch passes the actual policy into the cleanup controller's context loader so policyNamespace becomes the CleanupPolicy's own namespace and both existing clamps (the CVE-2026-22039 apiCall urlPath clamp and the GHSA-59v6 globalReference denial) engage without new code; vendor advisories GHSA-p58h-r4j3-h5vx and GHSA-rcxg-3f92-3mgr document the fix. If upgrading cannot be done immediately, the most effective compensating control is to remove the create/patch cleanuppolicies grant from namespace-admin roles by disabling rbac.roles.aggregate.admin or editing kyverno:rbac:admin:policies out of the aggregated admin ClusterRole - the trade-off is that tenants lose the CleanupPolicy self-service feature and existing CleanupPolicy objects must be managed centrally. In addition, tighten the cleanup controller ServiceAccount's RBAC by removing its cluster-wide create/update/delete on validatingwebhookconfigurations and its patch/update on policyexceptions, accepting that legitimate cleanup workflows involving webhook configuration will need a separate, tightly scoped identity. Finally, add a cluster admission rule rejecting spec.context entries of type apiCall or globalReference on CleanupPolicy resources (ValidateContext only blocks ImageRegistry and ConfigMap today), which restores defense in depth but should not be treated as a substitute for the 1.19.2 upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is an incorrect-authorization flaw (CWE-863) compounded by insecure default initialization (CWE-1188). Kyverno's ContextLoaderFactory signature is func(policy kyvernov1.PolicyInterface, rule kyvernov1.Rule) ContextLoader, and the factory implementation derives a single policyNamespace value from that first argument - empty when the policy is nil - and threads it into NewConfigMapLoader, NewAPILoader and NewGCTXLoader. That field is precisely the confinement input: the urlPath clamp added as the CVE-2026-22039 fix lives in NewAPILoader and the globalReference denial added as the GHSA-59v6 fix lives in NewGCTXLoader, so with an empty namespace both guards are inert by construction rather than bypassed. pkg/controllers/cleanup/controller.go:174 calls ctxFactory(nil, kyvernov1.Rule{}) even though the same function holds the policy (spec := policy.GetSpec() a few lines above and policy.GetNamespace() used fourteen lines below), and a grep shows the cleanup controller is the only production caller passing nil. Admission does not compensate: ValidateContext for CleanupPolicy only rejects ImageRegistry and ConfigMap entries, so apiCall and globalReference reach the loader unchallenged. The blast radius comes from the controller's ServiceAccount, which holds cluster-wide create, update and delete on validatingwebhookconfigurations and patch/update on PolicyException, allowing enforcement to be turned off cluster-wide, an object-copying webhook to be registered, or a failurePolicy: Fail denial to be imposed.
Know when Kyverno gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable with low complexity and no UI; PR:L because a routinely-granted namespace-admin role is required; S:C because a namespaced tenant reaches a cluster-scoped ServiceAccount, yielding full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Kyverno from 1.17.0 before 1.19.2 contains an authorization bypass vulnerability that allows namespace admins to escape namespace confinement because the cleanup controller builds its context loader with a nil policy. Attackers can create a namespaced CleanupPolicy with apiCall or globalReference context entries to read cross-namespace Secrets and modify validatingwebhookconfigurations using the cleanup controller's ServiceAccount.
Articles & Coverage 1
Technical POC Analysis
CWE-863: Incorrect Authorization.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-122304 is a critical vulnerability in Kyverno versions 1.17.0 through 1.19.1 that allows a namespace administrator to escape their namespace and compromise cluster-wide security controls, including the ability to disable Kyverno enforcement and exfiltrate all admitted objects. This impacts any organization using these Kyverno versions in multi-tenant Kubernetes environments, where a low-privileged tenant could gain control over the entire cluster's admission policies and sensitive data.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in Kyverno Authorization Bypass and Privilege Escalation
View all 21Kyverno Kubernetes policy engine prior to 1.x has a privilege escalation vulnerability (CVSS 9.9) allowing policy bypass
Cross-namespace privilege escalation in Kyverno 1.18.0-1.18.1 lets any tenant who can create a NamespacedMutatingPolicy
Kyverno is a policy engine designed for Kubernetes. Rated high severity (CVSS 8.7), this vulnerability is remotely explo
Kyverno is a policy engine designed for cloud native platform engineering teams. Rated high severity (CVSS 8.5), this vu
Kyverno versions up to 1.16.3 is affected by allocation of resources without limits or throttling (CVSS 7.7).
Kyverno is a policy engine designed for cloud native platform engineering teams. Rated medium severity (CVSS 5.8), this
Kyverno versions 1.16.0 and later contain a server-side request forgery vulnerability in unrestricted CEL HTTP functions
Privilege escalation in Kyverno before 1.19.1 allows an authenticated Kubernetes namespace tenant with Policy/apiCall au
Kyverno 1.19.1 allows an authenticated namespace tenant whose only privilege is creating Policies in its own namespace t
EUVD-2026-117215
GHSA-vhcf-rq9h-r35p
NVD
CVE.org
EPSS
Exploit-DB