Skip to main content

Kyverno EUVDEUVD-2026-117225

| CVE-2026-122314 HIGH
Uncaught Exception (CWE-248)
2026-11-05 VulnCheck GHSA-rwg8-pmp2-gw36
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as user able to submit resources
  2. Delivery
    Craft resource with non-string field (e.g. integer replicas)
  3. Exploit
    Field hits shallow {{- }} substitution
  4. Execution
    Unchecked type assertion panics webhook
  5. Impact
    Policy 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

kyverno 0 <1.19.2

Affected Packages

euvd kyverno fix: 1.19.2

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 05, 2026 - 03:01 EUVD
CVE Published
Nov 05, 2026 - 02:25 cve.org
HIGH 8.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Vendor-released patch: 1.19.2

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
CNCF Kubernetes policy engine; common in clusters but not every deployment
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy