Vulnerability DatabaseCVE-2026-122321

CVE-2026-122321: 
Kyverno vulnerability analysis and mitigation

Overview

CVE-2026-122321 is a signature verification bypass vulnerability in Kyverno's verifyImages admission controller affecting versions 1.18.0 through 1.19.1. The flaw allows authenticated attackers who can submit workloads and manipulate registry tags to bypass image signature and attestation checks by exploiting a flawed cache keying mechanism. It was published on November 5, 2026, with a patch available in version 1.19.2. The vulnerability carries a CVSS v3.1 score of 9.1 (Critical) and a CVSS v4.0 score of 8.5 (High) (Kyverno Advisory, GitHub Advisory).

Technical details

The root cause is a Time-of-Check Time-of-Use (TOCTOU) race condition (CWE-367) in pkg/engine/internal/imageverifier.go. The image verification cache is keyed by a combination of policy UID, policy resourceVersion, rule name, and the image reference string (e.g., a tag like ghcr.io/kyverno/test-verify-image:signed), but critically does not bind the cache entry to the verified image digest. When a cache hit occurs, the (*ImageVerifier).Verify function short-circuits and returns a RulePass response with the message "verified from cache" without re-running signature or attestation verification. Subsequently, if mutateDigest is enabled, Kyverno calls FetchImageDescriptor to resolve the current digest for the tag and patches it into the admitted workload — meaning the newly resolved (and unverified) digest is pinned, not the originally verified one. A PoC (poc.zip) was included with the advisory demonstrating the "verify A / run B" attack chain (Kyverno Advisory).

Impact

Successful exploitation allows an authenticated attacker to bypass Kyverno's verifyImages admission policy, causing the cluster to admit and pin an unsigned or unverified container image digest. This represents a high-integrity impact at the admission boundary: workloads running unverified images could introduce malicious code, backdoors, or supply-chain compromised software into the Kubernetes cluster. The scope change in the CVSS score reflects that the impact extends beyond the Kyverno component itself to the broader cluster environment, with potential for lateral movement or persistent access via deployed malicious containers (Kyverno Advisory, GitHub Advisory).

Exploitability

No confirmed in-the-wild exploitation has been observed, and no weaponized exploit kits are known at this time (Feedly). A proof-of-concept (poc.zip) was included by the reporter (credited as "1seal") in the official Kyverno security advisory, demonstrating the cache bypass using Kyverno's real (*ImageVerifier).Verify logic. The EPSS score is approximately 0.22% (12th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and NVD's SSVC assessment classifies exploitation as "none" with technical impact as "partial" (Kyverno Advisory, GitHub Advisory).

Exploitation steps

  1. Prerequisite: Obtain low-privilege credentials sufficient to submit workloads (e.g., kubectl apply) to the target Kubernetes cluster, and have write access to a container registry tag that is matched by a Kyverno verifyImages policy with useCache: true.
  2. Warm the cache: Push a legitimately signed image to registry/repo:tag and submit a workload referencing registry/repo:tag. Kyverno verifies the signature, passes admission, and stores a cache entry keyed by {policyUID}+{policyResourceVersion}+{ruleName}+registry/repo:tag.
  3. Retag to malicious image: Push an unsigned or malicious image to the same registry and move (retag) registry/repo:tag to point to this new, unverified digest.
  4. Submit the malicious workload: Submit a new workload referencing registry/repo:tag. Kyverno's (*ImageVerifier).Verify finds the existing cache entry for the tag string, returns RulePass("verified from cache") without re-running signature or attestation checks.
  5. Digest pinning via mutateDigest: If mutateDigest: true is configured, Kyverno calls FetchImageDescriptor to resolve the current digest for registry/repo:tag (now pointing to the malicious image) and patches this unverified digest into the admitted workload resource.
  6. Achieve objective: The malicious, unsigned container image is now admitted to the cluster and its digest is pinned by Kyverno, bypassing the intended verifyImages integrity policy (Kyverno Advisory).

Indicators of compromise

  • Logs: Kyverno admission webhook logs containing "verified from cache" for image references using mutable tags (rather than sha256: digests) — especially if the same tag was recently used in a prior admission.
  • Logs: Kyverno logs showing [CALLSITE_HIT] or cache-hit log entries at pkg/engine/internal/imageverifier.go followed by handleMutateDigest resolving a different digest than the one originally verified.
  • Kubernetes Events/Audit: Workload admission events where the image reference in the submitted spec (tag-based) differs from the digest patched into the running pod spec by Kyverno's mutateDigest, particularly if the digest changed between recent admissions of the same tag.
  • Registry: Sudden retagging of a container image tag to a new digest shortly before a workload submission — observable via registry audit logs or webhook events.
  • Process/Runtime: Running containers whose image digest does not match any previously signature-verified digest in your supply chain records, despite Kyverno verifyImages policies being active (Kyverno Advisory).

Mitigation and workarounds

Upgrade Kyverno to version 1.19.2 or later, which fixes the cache keying to bind entries to verified digests (Kyverno Advisory). As an interim workaround, configure verifyImages policies to reference images by immutable digest (e.g., registry/repo@sha256:...) rather than mutable tags, which prevents the cache key from being reused for a different image. Additionally, restrict RBAC permissions so that only trusted principals can submit workloads and push/retag images in registries matched by verifyImages policies. Disabling useCache: true in verifyImages rules eliminates the vulnerable code path at the cost of increased verification latency (GitHub Advisory).

Community reactions

The vulnerability was reported by security researcher "1seal" and published by Kyverno maintainer JimBugwadia via the official GitHub Security Advisory on October 21, 2026 (Kyverno Advisory). Coverage appeared on The Hacker Wire, which highlighted the admission-time integrity bypass nature of the flaw, and Brandefense published a comparative analysis of Kyverno 1.19.2 vulnerabilities (The Hacker Wire, Brandefense). Community discussion noted the practical severity of the "verify A / run B" attack chain in multi-tenant Kubernetes environments where registry tag control may not be strictly enforced.

Additional resources


Source: This report was generated using AI

Related Kyverno vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-124440CRITICAL9.4
  • Kyverno logoKyverno
  • cpe:2.3:a:kyverno:kyverno
NoYesNov 08, 2026
CVE-2026-124441HIGH8.7
  • Kyverno logoKyverno
  • cpe:2.3:a:kyverno:kyverno
NoYesNov 08, 2026
CVE-2026-122323HIGH8.7
  • Kyverno logoKyverno
  • cpe:2.3:a:kyverno:kyverno
NoYesNov 05, 2026
CVE-2026-122322HIGH8.7
  • Kyverno logoKyverno
  • kyverno
NoYesNov 05, 2026
CVE-2026-122321HIGH8.5
  • Kyverno logoKyverno
  • cpe:2.3:a:kyverno:kyverno
NoYesNov 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management