Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as user able to submit resources
-
DeliveryCraft resource with non-string field (e.g. integer replicas)
-
ExploitField hits shallow {{- }} substitution
-
ExecutionUnchecked type assertion panics webhook
-
ImpactPolicy engine DoS and policy bypass under failurePolicy Ignore
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Two conditions must both hold: (1) the cluster runs a Kyverno policy whose message or pattern embeds the shallow-substitution form {{- variable }} over a resource-supplied field such as request.object.spec.replicas - a non-default policy construct, not an inherent product default; and (2) the attacker can submit a resource matching that policy with a non-string value (integer, boolean, object, or array) for the referenced field. Limiting factors: exploitation requires cluster submit/RBAC permissions (not truly anonymous), requires the specific shallow-substitution policy to be in place, and affects only Kyverno before 1.19.2. The policy-bypass (fail-open) outcome additionally requires the matching policy to use failurePolicy: Ignore; with failurePolicy: Fail the result is denial of service only. The trigger mechanism (type assertion on attacker-typed admission fields) is explicitly described in the advisory. |
| Impact | The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with VA:H and the 8.7 base score portrays an unauthenticated network-reachable availability flaw, but this overstates real-world exposure for two reasons grounded in the advisory. First, triggering requires an authenticated cluster user who can submit a matching resource (the description explicitly scopes it to 'users who can submit resources'), so PR:N is optimistic - PR:L is more honest. Second, the vulnerable code path is only reached when a deployed policy itself uses the shallow-substitution syntax {{- variable }} over a resource-supplied (attacker-controlled-type) field; this is a defender configuration precondition the vendor's AT:N does not capture, which I treat as AT:P / AC:H. No EPSS score and no CISA KEV entry are present in the input, so there is no evidence of widespread or active exploitation. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a high-impact but condition-gated issue rather than an internet-wide drive-by. The realistic priority is driven by the dual impact - admission-webhook denial of service plus policy bypass when failurePolicy: Ignore is set, which silently admits unfiltered resources - making it a genuine security-control-integrity concern for clusters that both run affected Kyverno (<1.19.2) and use shallow substitution. In short: a real this-week patch priority for affected configurations, but not a universal emergency, and the headline PR:N/AT:N signals should be verified against the config dependency the advisory describes. |
| Exploit ScenarioDerived | A tenant or namespace user who can create workloads submits a Deployment with an integer spec.replicas to a cluster whose Kyverno policy embeds that field via shallow substitution (e.g. "replicas are {{- request.object.spec.replicas }} now"). The non-string value hits an unchecked string type assertion in the substitution engine, panicking the admission webhook; under failurePolicy: Ignore the request is then admitted unfiltered and the background/reports controller crash-loops. A working proof-of-concept Go test demonstrating the panic is published in the vendor GHSA advisory, though it is not packaged as a weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
A reachable Go panic in Kyverno's variable-substitution engine lets a user who can already submit resources to a cluster crash the admission policy engine, producing webhook denial of service and, for matching policies configured with failurePolicy: Ignore, admission of the request without policy evaluation (a fail-open policy bypass). Only Kyverno versions before 1.19.2 are affected, and exploitation is not unconditional: the cluster must run a policy whose message or pattern embeds the shallow-substitution form {{- variable }} over an attacker-controllable resource field (for example request.object.spec.replicas), and the submitter must be able to create a resource of that kind carrying a non-string value for the referenced field. A public proof-of-concept reference is included in the upstream advisory (a Go test that reproduces the panic); no confirmed active exploitation is indicated (not in CISA KEV), and the practical exposure is lower than the raw 8.7 CVSS 4.0 score suggests because the trigger depends on a non-default policy construct plus cluster submit/RBAC permission.
RemediationAI
Vendor-released patch: upgrade Kyverno to 1.19.2 or later, which replaces the unchecked type assertion with comma-ok/type-switch handling in pkg/engine/variables/vars.go and fixes the sibling assertions in apiCall.go:134 and imagedata.go:103; follow the GHSA advisory at https://github.com/kyverno/kyverno/security/advisories/GHSA-x4xq-p8g4-6fwg and the VulnCheck advisory for the release guidance. Because the flaw is only reachable through the {{- variable }} shallow-substitution syntax over resource-supplied fields, clusters that cannot patch immediately can audit and remove or rewrite those constructs in policy messages and patterns (full-string substitution of the same variable does not reach the vulnerable path), accepting the cost of less informative policy messages and reworking any JMESPath-templated apiCall paths. Attack surface is also gated on the ability to submit matching resources, so tightening RBAC on create/update of the resource kinds referenced by such policies reduces who can trigger the panic, at the expense of restricting legitimate workloads. Be aware that setting failurePolicy: Ignore on the affected policies widens impact from denial of service to fail-open policy bypass, while failurePolicy: Fail turns webhook unavailability into admission blocking for matching resources - both are trade-offs, and upgrading is the only complete fix identified in the advisory.
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
Kyverno is a Kubernetes-native policy engine that answers admission requests through a validating/mutating webhook and evaluates JMESPath-based variables against the admitted resource. Its substitution engine supports two forms: full-string substitution, where a variable replaces the entire pattern, and 'shallow substitution' ({{- variable }}), used when a variable is embedded inside a larger string. In pkg/engine/variables/vars.go, replaceBracesAndTrimSpaces detects the leading '-' and sets shallowSubstitution; the early return that safely handles a whole-string replacement does not apply when the variable is only part of a larger string, so execution reaches line 370 where the resolved value is force-cast with substitutedVar.(string). Because the resolved value comes from the admission object (request.object.*), its type is attacker-controlled: an integer, boolean, object or array triggers an interface-conversion panic instead of returning an error. This is an incorrect-type-conversion defect (CWE-704) manifesting as an uncaught exception/panic (CWE-248). The advisory notes two sibling instances of the same anti-pattern to fix together: path.(string) on the result of variables.SubstituteAll over the templated JMESPath field in pkg/engine/apicall/apiCall.go:134, and path.(string) in pkg/engine/context/loaders/imagedata.go:103. The correct pattern already exists at vars.go:276 (comma-ok handling); the fix is a type switch that stringifies the value or returns a typed error. Impact is availability-only in the assessed vector (A:H, C:N/I:N); the additional integrity dimension comes indirectly from failurePolicy: Ignore, where a panicking webhook fails open and the workload is admitted without policy checks.
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:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Requires an authenticated submitter (PR:L) and a defender-side shallow-substitution policy over resource fields (AC:H); impact is webhook DoS (A:H), with policy bypass only conditional on failurePolicy: Ignore.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Kyverno before 1.19.2 contains an unchecked type assertion in its variable-substitution engine that allows users who can submit resources to crash the policy engine. Attackers can submit resources with non-string fields referenced by {{- variable }} shallow substitution in policies, causing a panic that yields webhook denial of service and policy bypass under failurePolicy Ignore.
Technical POC Analysis
Bug class: unchecked type assertion on an attacker-typed value (CWE-704, Incorrect Type Conversion or Cast) that is never recovered, producing an uncaught Go panic (CWE-248).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Kyverno policy engine versions prior to 1.19.2 contain a high-severity flaw that allows a user with permission to submit resources to a cluster to crash the admission webhook and, under common policy configurations, bypass policy evaluation entirely (fail-open). This compromises the integrity of Kyverno's role as a policy enforcement point, so any team relying on Kyverno to block non-compliant workloads rather than merely audit them must treat this as a control-integrity issue affecting the whole cluster.
Vendor-released patch: 1.19.2
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-117225
GHSA-rwg8-pmp2-gw36
NVD
CVE.org
EPSS
Exploit-DB