Skip to main content

Kyverno EUVDEUVD-2026-117216

| CVE-2026-122305 HIGH
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-11-05 VulnCheck GHSA-vh8f-cmpp-9cv2
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged cluster user
  2. Delivery
    Craft self-referential annotation template
  3. Exploit
    Submit resource matched by Kyverno policy
  4. Execution
    Trigger unbounded nested substitution loop
  5. Impact
    Exhaust CPU/memory and block cluster-wide admission

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a Kyverno cluster running a version <=1.19.1 with at least one policy that embeds a resource variable inside a larger string value (for example a validation message like 'annotation value {{request.object.metadata.annotations.x}} is not allowed', not a whole-value '{{ x }}' leaf), plus a low-privileged user able to create or update a resource of a matched kind in a matching namespace. Limiting factors: exploitation depends on this non-default policy pattern being deployed by an admin; it is authenticated (PR:L - a low-privileged cluster account is needed); and the blast radius widens sharply when the webhook is configured with failurePolicy: Fail, under which the wedged/crash-looping webhook blocks resource creation cluster-wide. The whole-value substitution guard, shallow-substitution '{{- x -}}' syntax, and the 2 MB context-size limit do not cover this generic rule/message substitution path.

Impact

This is a credible, prioritizable availability risk rather than an inflated high-score issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with VA:H and SA:H aligns with the mechanism in the GHSA advisory: a low-privileged in-cluster user remotely triggers an unbounded nested-variable substitution loop (CWE-835) that exhausts CPU/memory and, because the Kyverno admission webhook is cluster-wide, propagates to block admission across the whole cluster (the subsequent-system availability impact). vuln.today assigns a 'this_week' priority and the vendor has shipped a patch (1.19.2). No EPSS score and no KEV status are provided in the input, so there is no signal of active exploitation or statistically modeled exploitation probability - treat this as not-yet-exploited based on available data, consistent with the 'this_week' (not act_now/emergency) decision label. The one caveat that tempers raw severity: exploitation is not against a default install in isolation - it requires an in-cluster policy that embeds a resource variable inside a larger string (see exploitation_conditions), so real risk depends on deployed policy content. Impact is availability-only; the advisory explicitly states no confidentiality or integrity impact.

Exploit ScenarioDerived

A low-privileged user who can create a ConfigMap (or other resource matched by an existing policy) submits a resource whose annotation re-introduces the policy's embedded variable template, e.g. annotation x set to 'A{{request.object.metadata.annotations.x}}B'. When Kyverno substitutes the variable in a validation message, the resolved value re-introduces the template, so the substitution loop never terminates - the webhook goroutine spins and grows memory until the pod is OOM-killed, and repeated requests pile up goroutines to saturate the cluster's admission path. A detailed step-by-step PoC (benign policy plus 'evil.yaml' and an equivalent raw AdmissionReview HTTP request) is published in the GHSA advisory.

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

Denial of service in Kyverno 1.19.1 and earlier allows a low-privileged, authenticated cluster user to permanently wedge the admission webhook by creating a resource whose field re-introduces a policy variable inside a larger string, driving the variable-substitution engine into an unbounded loop that spins CPU and grows memory until the Kyverno pod is OOM-killed. The trigger is not a default configuration: an administrator must have deployed a policy that embeds a resource variable inside a bigger string (for example a validation message like 'annotation value {{request.object.metadata.annotations.x}} is not allowed'), because the whole-value '{{ x }}' guard, the opt-in shallow-substitution '{{- x -}}' escape and the 2 MB context-size cap do not cover this generic rule/message substitution path. There is no CISA KEV entry for this issue and no confirmed active exploitation, but the upstream advisory publishes a full proof-of-concept reference that has not been independently verified as working exploit code; the fix is vendor-released in 1.19.2, and the blast radius expands sharply where the webhook runs with failurePolicy: Fail, since a wedged or crash-looping webhook then blocks resource creation cluster-wide (assessed CVSS:3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H).

RemediationAI

Vendor-released patch: upgrade Kyverno to 1.19.2 (fixed in 1.19.2 for go/github.com/kyverno/kyverno <=1.19.1), per the advisory at https://github.com/kyverno/kyverno/security/advisories/GHSA-338x-hgrv-626h and the VulnCheck advisory at https://www.vulncheck.com/advisories/kyverno-before-1.19.2-denial-of-service-via-nested-variable-substitution-loop. Where upgrading must be staged, the practical exposure reduction follows directly from the documented trigger: audit ClusterPolicies and Policies for rules whose validation messages, patterns or other string values embed a resource variable inside a larger string (the form 'annotation value {{request.object.metadata.annotations.x}} is not allowed'), since the whole-value '{{ x }}' leaf form is stopped by the existing guard and the '{{- x -}}' shallow-substitution form escapes and stops re-scanning; rewriting or removing those embedded-variable messages removes the trigger but changes the denial text operators and users see. Restricting which low-privileged accounts may create or update resources of the kinds and namespaces matched by such policies raises the bar for an attacker but does not fix the engine path. Note that with failurePolicy: Fail a wedged webhook blocks resource creation cluster-wide, so clusters configured that way carry the widest impact, and because the engine has no per-request evaluation timeout, restarting Kyverno pods only clears the accumulated wedged goroutines temporarily while the triggering policy and the attacker's ability to submit matching resources remain in place.

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's policy engine substitutes JMESPath variables held in '{{ ... }}' templates on every leaf and key of a resource, implemented in pkg/engine/variables/vars.go by substituteVariablesIfAny. The routine collects matches with a regex (regex.RegexVariables), resolves each name through lookupVar against the JSON context (which includes attacker-controlled resource fields), and then re-scans the resulting string for further nested templates inside a 'for len(vars) > 0' loop that has no iteration or depth bound; each newly produced template is compiled and executed as a fresh JMESPath query via context.Query/gojmespath. Three existing mitigations are incomplete: an early return only when the entire string value equals the variable (vars.go:361), the shallow-substitution syntax '{{- x -}}' which escapes '{{' in its result and stops re-scanning (vars.go:370-382), and a 2 MB context-entry limit in pkg/engine/context/context.go that caps the CVE-2026-23881 amplification class but is not applied to rule, message or pattern substitution. Consequently a value such as 'A{{request.object.metadata.annotations.x}}B' expands to 'AA{{...}}BB', 'AAA{{...}}BBB' and so on forever, with per-iteration regex scanning and JMESPath recompilation, while a fixed-point value produces a pure CPU spin; there is no per-request evaluation timeout in the engine path, so the goroutine keeps running after the API-server admission timeout expires. The root cause class is CWE-835 (Infinite Loop), and the advisory describes this as an incomplete fix for CVE-2025-47281 (fixed in 1.14.2). The affected CPE is cpe:2.3:a:kyverno:kyverno:*:*:*:*:*:*:*:* (ENISA EUVD range 0 < 1.19.2; Go package go/github.com/kyverno/kyverno vulnerable <= 1.19.1).

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.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
vuln.today AI 7.7 HIGH

Low-privileged user reaches the admission webhook over the network (AV:N/AC:L/PR:L/UI:N); the DoS crosses from Kyverno into cluster-wide admission (S:C); availability-only impact (A:H, no C/I).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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
High

Lifecycle Timeline

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

DescriptionCVE.org

Kyverno before 1.19.2 contains a denial of service vulnerability in substituteVariablesIfAny that allows low-privileged users to hang the admission webhook via self-referential variable templates. Attackers can create resources whose annotations re-introduce the embedded policy variable, causing unbounded substitution loops that exhaust CPU and memory and block cluster-wide admission.

Technical POC Analysis

CWE-835 (Loop with Unreachable Exit Condition) in Kyverno's own Go code: substituteVariablesIfAny in pkg/engine/variables/vars.go (advisory cites lines 311-393; loop body 320-387).

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, a widely used Kubernetes policy engine, contains a high-severity denial-of-service vulnerability that allows any authenticated cluster user to crash the admission webhook, potentially disrupting admission control across the cluster. This requires a specific but plausible policy configuration, and successful exploitation could lead to broader operational outages if Kyverno is enforcing critical security policies.

Business Impact: High
Compensating Controls

Vendor-released patch: Kyverno 1.19.2

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular CNCF Kubernetes policy engine, common but not universally deployed
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
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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