Picture a shared OpenShift Virtualization cluster. Team A runs a database VM whose disk lives on a PersistentVolumeClaim (PVC) in namespace team-a. Team B has ordinary edit rights in team-b and nothing in team-a. With one annotation in a VM manifest, Team B could ask the platform to clone Team A’s disk into its own namespace, and the platform’s own controller would do the copying for them.
That is CVE-2026-133879, published by Red Hat on November 20, 2026. It sits in KubeVirt’s Containerized Data Importer (CDI), the component that imports, uploads and clones VM disks. A storage annotation meant for disaster-recovery setups also switched off the clone permission check when the request came through a VirtualMachine. Red Hat rates it Important, with a preliminary CVSS 3.1 score of 7.7 (the High band). The upstream fix is merged but, as of November 22, 2026, not in any tagged release, and Red Hat lists no fixed packages. Severity in one line: high for multi-tenant clusters where tenants can create VMs, close to irrelevant for single-team clusters.
At a glance
- CVE: CVE-2026-133879, CWE-280 (improper handling of insufficient permissions)
- CVSS 3.1: 7.7,
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N(Red Hat, marked preliminary). NVD: awaiting analysis, no score of its own. - Affected: KubeVirt containerized-data-importer; Red Hat lists OpenShift Virtualization 4 and 5 components (virt-api, virt-controller, the virt-cdi-* images and others). No version ranges published.
- Exploitation: none known. CISA’s SSVC entry says exploitation “none”, automatable “no”.
- Fix: upstream PR #4346 merged November 18, 2026, backported to release-v1.61 through v1.66 branches. No CDI release tag and no Red Hat errata yet.
- Workaround: restrict VM create/update to trusted users, or reject such templates with an admission policy.
- Who should care: anyone running KubeVirt or OpenShift Virtualization with more than one tenant, especially platform teams selling “VMs as a service” inside a shared cluster.
What we know
The public record is thin but consistent. Red Hat’s CVE page, the CVE.org record and Bugzilla 2578653 all describe the same thing: a tenant creates a VirtualMachine with an embedded DataVolumeTemplate that carries cdi.kubevirt.io/storage.checkStaticVolume and points at a clone source in another namespace. The service-account clone authorization check is bypassed and the foreign PVC gets cloned into the tenant’s namespace. Red Hat’s own description ends: “This can result in cross-tenant data disclosure.”
According to the CVE record, the issue was reported to Red Hat at 15:24 UTC on November 20, 2026, and the CVE went public at 17:06 UTC the same day. That compressed timeline makes sense once you look upstream: the fix, PR #4346 by Michael Henriksen (mhenriks), was opened November 16 and merged November 18. Cherry-picks to the release-v1.61 to v1.66 branches merged on November 20 and 21; the v1.57 to v1.60 backports were still open when I checked. No reporter is credited anywhere.
What is still unknown as of November 22, 2026: the exact affected version range, which CDI release will ship the fix, which OpenShift Virtualization z-streams will carry it, and whether KubeVirt itself will add a check on its side. The CDI repo has no published security advisory, and its latest tag is still v1.66.1 from September 6, 2026.
How it works
Some background first. A DataVolume is CDI’s custom resource that says “make me a PVC and fill it from here”. The CDI docs list sources such as HTTP, registry, upload, blank, and clones of an existing PVC or a VolumeSnapshot; the clone authorization code also handles DataSource references. According to the CDI clone docs, a cross-namespace clone needs the ability to create pods or the datavolumes/source permission in the source namespace. The OKD 4.14 documentation grants it with a ClusterRole on datavolumes/source and an example RoleBinding in the source namespace whose subject is the default service account of the destination namespace.
When a VM embeds a DataVolumeTemplate, the tenant does not create the DataVolume. KubeVirt’s virt-controller does, using its own privileged identity. To stop that from becoming a confused deputy (a privileged component tricked into acting for someone without the rights), virt-controller first calls CDI’s AuthorizeSA function. It checks whether the VM’s service account (from the VM template, or default) may read the clone source. If not, the DataVolume is never created.
Now the annotation. checkStaticVolume arrived in PR #2583, merged February 22, 2023, for a Metro DR setup built on RamenDR. It tells CDI “a replicated PV may already exist for this claim; if so, bind to it and skip population”. Because the source might legitimately not exist yet on the DR side, the authorization code got a waiver: with that annotation, a failed check returned “allowed, but no clone token” (ErrNoTokenOkay). The 2023 commit message reasoned that no token meant no clone, so the waiver was harmless.
That reasoning held for users creating DataVolumes directly. It broke on the controller path. Per the Bugzilla analysis:
- The VM admission check (
validateVirtualMachineDataVolumeTemplateNamespace) validates only the DataVolume’s own namespace. It ignores annotations and the source namespace. - The annotation is copied to the generated DataVolume.
AuthorizeSAturns the denied SubjectAccessReview intoErrNoTokenOkay. - virt-controller treats that sentinel as success and creates the clone DataVolume under its own identity.
- CDI finds no static PV, falls back to normal population, and clones the victim PVC into the attacker’s namespace.

Henriksen’s PR description names the root cause in one line: “The problem is accepting ErrNoTokenOkay and then creating the DV under a different privileged identity.” The fix removes checkStaticVolume from the AuthorizeSA waiver in three places (denied review, missing source namespace, missing DataSource). It keeps the prePopulated waiver, which never proceeds to clone, and leaves AuthorizeUser alone because that runs in the webhook against the real user.
The bug class is old and familiar. An authorization function returned a third state (“allowed, sort of”) and one caller collapsed it into “yes”. Add a user-controlled annotation that flips the function into that state, and a feature built for DR became a cross-tenant read primitive.

Who is affected and how badly
The precondition is permission to create or update VirtualMachines in some namespace. That sounds narrow until you look at how KubeVirt ships its roles. The KubeVirt docs say kubevirt.io:edit and kubevirt.io:admin aggregate by default into the standard Kubernetes edit and admin roles. So every person or CI service account that holds plain namespace edit or admin can create VMs, whether or not anyone ever thought of them as a “VM user”. Red Hat’s advice to “remove kubevirt.io:edit” really means auditing every edit and admin binding in every tenant namespace.
The attacker also needs to name a target: the victim namespace and the PVC or DataSource name. Those are not secret in many clusters (naming conventions, shared golden-image namespaces, Git repos with manifests), but they are not handed out either. Once a clone lands, the attacker boots a VM on it or mounts it and reads everything on the disk: database files, SSH host keys, application secrets baked into images.
My honest rating: high for shared clusters with semi-trusted tenants (internal platforms, hosting providers, training labs, CI farms that spin up VMs). Low for clusters where everyone with VM create rights could already read every namespace. It is not internet-exploitable on its own; it needs Kubernetes credentials. The CVSS “Scope: Changed” is fair, because the impact crosses the namespace boundary the cluster was meant to enforce.
What to do now
In order of what I would do first:
- Inventory who can create VMs. Run
kubectl auth can-i create virtualmachines.kubevirt.io -n <ns> --as=<user>for tenant identities, and list RoleBindings toedit,admin,kubevirt.io:editandkubevirt.io:adminacross tenant namespaces. Do not forget CI service accounts. - Remove VM create/update from untrusted identities, as Red Hat recommends. If you are on KubeVirt v1.8 or later, the alpha
Manualaggregation strategy (feature gateOptOutRoleAggregation) stops the KubeVirt roles from riding along with plainedit. It is alpha, so test it first. - Where tenants must keep VM rights, add an admission policy (example below) that rejects DataVolumeTemplates combining the annotation with a cross-namespace source. Exempt your DR namespaces if you actually use Metro DR.
- Check existing VMs and DataVolumes for the annotation (the
kubectlsweep is in my detection post, linked below). Any hit with a foreign source namespace deserves a conversation. - Track the fix: watch for a CDI release after v1.66.1 that includes PR #4346 (or the cherry-pick for your branch), and for Red Hat errata on the CVE page. Upgrade when it lands; keep the policy anyway.
Example admission policy (test before enforcing)
This is a ValidatingAdmissionPolicy, which reached general availability in Kubernetes 1.30. It is an example to test, not a vetted control: apply it with the binding in Warn and Audit mode first, confirm your VM CRD schema exposes these fields to CEL, then switch to Deny. It covers clone sources by PVC, snapshot and DataSource. If you use VirtualMachinePools, test that the VMs they create are also caught; I expect they are, since the pool controller creates VMs through the API, but I have not verified it.
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingAdmissionPolicy
metadata:
name: deny-checkstaticvolume-cross-ns-clone
spec:
failurePolicy: Fail
matchConstraints:
resourceRules:
- apiGroups: ["kubevirt.io"]
apiVersions: ["*"]
operations: ["CREATE", "UPDATE"]
resources: ["virtualmachines"]
validations:
- expression: >-
!has(object.spec.dataVolumeTemplates) ||
object.spec.dataVolumeTemplates.all(t,
!(has(t.metadata) && has(t.metadata.annotations) &&
'cdi.kubevirt.io/storage.checkStaticVolume' in t.metadata.annotations) ||
!has(t.spec) ||
(
(!has(t.spec.source) || !has(t.spec.source.pvc) ||
!has(t.spec.source.pvc.namespace) ||
t.spec.source.pvc.namespace == request.namespace) &&
(!has(t.spec.source) || !has(t.spec.source.snapshot) ||
!has(t.spec.source.snapshot.namespace) ||
t.spec.source.snapshot.namespace == request.namespace) &&
(!has(t.spec.sourceRef) || !has(t.spec.sourceRef.namespace) ||
t.spec.sourceRef.namespace == request.namespace)
))
message: "DataVolumeTemplates with cdi.kubevirt.io/storage.checkStaticVolume may not clone from another namespace (CVE-2026-133879)."
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingAdmissionPolicyBinding
metadata:
name: deny-checkstaticvolume-cross-ns-clone
spec:
policyName: deny-checkstaticvolume-cross-ns-clone
validationActions: ["Warn", "Audit"]
If nobody in your cluster uses Metro DR, a stricter version is simpler: reject the annotation on VM templates from tenant namespaces entirely, using a namespaceSelector in the binding. Kyverno and Gatekeeper can express the same logic; I am not posting untested rules for them here.
Detection and monitoring
No IOCs exist for this one, and you don’t need any: the evidence is in the objects themselves. Everything worth catching passes through the Kubernetes API audit log, but only if your audit policy records request bodies (Request level, ideally RequestResponse) for virtualmachines and datavolumes. That is not the default everywhere. OpenShift’s Default audit profile logs metadata only, so you need WriteRequestBodies or a custom rule before three of the four rules below can see anything. The fourth works at metadata level, if you deploy the admission policy above with the Audit action.
| Rule | Category | Log source | ATT&CK | Level |
|---|---|---|---|---|
| virt-controller creates a cross-namespace clone DataVolume with checkStaticVolume | Emerging threat | kubernetes / audit (request bodies) | T1068, T1530 | High |
| VM DataVolumeTemplate with checkStaticVolume and a foreign clone source | Emerging threat | kubernetes / audit (request bodies) | T1068, T1530 | High |
| Admission policy violation for the cross-namespace clone | Emerging threat | kubernetes / audit (metadata + annotations) | T1068 | High |
| checkStaticVolume set on any VM or DataVolume | Hunting | kubernetes / audit (request/response bodies) | T1068 | Low |
The rule I would turn on first watches the deputy, not the tenant. It fires when the kubevirt-controller service account creates a DataVolume that carries the annotation and clones from a namespace other than its own. That is the moment the bypass actually works, and because a DataVolume’s source is a single object rather than a list, it is the rule that converts most cleanly to real SIEM queries. The fieldref filters drop same-namespace clones; check that your sigma-cli backend supports fieldref and exists, and that it maps a field name containing dots and a slash (the annotation key) correctly.
title: CDI DataVolume With checkStaticVolume Cross-Namespace Clone Created By KubeVirt Controller
id: 00777947-1699-457c-8de4-125b3ee2460d
status: test
description: |
Detects the KubeVirt virt-controller service account creating a CDI DataVolume that carries the
cdi.kubevirt.io/storage.checkStaticVolume annotation and clones from another namespace. In
CVE-2026-133879 this is the confused-deputy step: the controller creates the clone under its own
identity after the service-account clone check was waived. Needs audit level Request or higher for datavolumes.
references:
- https://access.redhat.com/security/cve/CVE-2026-133879
- https://bugzilla.redhat.com/show_bug.cgi?id=2578653
- https://github.com/kubevirt/containerized-data-importer/pull/4346
- https://github.com/kubevirt/kubevirt/blob/main/pkg/virt-operator/resource/generate/components/serviceaccountnames.go
- https://netsec101.com/?p=399
author: netsec101.com
date: 2026-11-22
tags:
- attack.privilege-escalation
- attack.t1068
- attack.collection
- attack.t1530
- cve.2026-133879
- detection.emerging-threats
logsource:
category: application
product: kubernetes
service: audit
detection:
selection_dv_create:
objectRef.apiGroup: 'cdi.kubevirt.io'
objectRef.resource: 'datavolumes'
verb: 'create'
selection_controller:
user.username|startswith: 'system:serviceaccount:'
user.username|endswith: ':kubevirt-controller'
selection_annotation:
requestObject.metadata.annotations.cdi.kubevirt.io/storage.checkStaticVolume|exists: true
selection_source_namespace:
- requestObject.spec.source.pvc.namespace|exists: true
- requestObject.spec.source.snapshot.namespace|exists: true
- requestObject.spec.sourceRef.namespace|exists: true
filter_main_same_namespace_pvc:
requestObject.spec.source.pvc.namespace|fieldref: objectRef.namespace
filter_main_same_namespace_snapshot:
requestObject.spec.source.snapshot.namespace|fieldref: objectRef.namespace
filter_main_same_namespace_sourceref:
requestObject.spec.sourceRef.namespace|fieldref: objectRef.namespace
condition: all of selection_* and not 1 of filter_main_*
falsepositives:
- VMs whose service account was legitimately granted datavolumes/source in the source namespace and that also set the annotation; verify the RoleBinding in the source namespace
- Metro DR restores where the VM template legitimately references a source namespace with this annotation; confirm with the DR owners and exclude by VM namespace
level: high
Be realistic about the VM-side rule. A VM’s dataVolumeTemplates is a list, and Sigma has no way to say “the annotation and the foreign namespace in the same list element”. Elasticsearch flattens the array and loses that pairing, Splunk names the field with {}, KQL needs mv-expand. Treat the Sigma version as the alerting layer and keep a jq pass over raw audit logs as the precise check.
Monitoring after patching: the fix removes the waiver, so any virt-controller DataVolume with this combination after your upgrade date means an unpatched component, a VM service account that really holds clone rights in the source namespace (check the RoleBinding), or something new. Retro-hunt your audit logs as far back as you keep them; the annotation has existed since February 2023, so there is no natural start date. Also sweep live VM specs, which keep their templates after the DataVolume is gone. There are no IOCs to age out; the rules stay valid as long as the annotation exists.
I wrote up all four rules, with the audit-policy settings, the Sigma limits on nested fields, the jq and kubectl hunts, tuning notes and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.
My take
This is underrated, not because it is easy to exploit at scale (it is not) but because of what it says about Kubernetes multi-tenancy. RBAC gave the right answer here. The bypass lived in a controller that does work on your behalf and decided, based on a field you control, that the RBAC answer did not matter. Annotations are effectively an untyped, unvalidated side API. Every operator that reads “magic” annotations from user objects and then acts with its own service account deserves the same review: which annotations change authorization decisions, and can the tenant set them?
I also think the “allowed, but no token” pattern was a trap waiting to be sprung. Three-state authorization results are fine inside one function. Once they cross a package boundary, some caller will treat “not an error” as “yes”, and that is exactly what happened between CDI and KubeVirt. The upstream fix is correct and small. I would still like a KubeVirt-side change so virt-api rejects the combination at admission, defence in depth rather than trusting one shared helper.
If you run a shared virtualization cluster, do the RBAC audit this week. The surprise for most teams will be how many identities can create VMs through plain edit. Fixing that pays off well beyond this CVE.
Sources
- Red Hat: CVE-2026-133879 (Red Hat Customer Portal, November 20, 2026)
- Red Hat Bugzilla 2578653 (Red Hat, November 20, 2026)
- CVE.org record CVE-2026-133879 (CVE Program / Red Hat CNA, November 20, 2026)
- NVD: CVE-2026-133879 (NIST, November 20, 2026)
- CDI PR #4346: Do not let checkStaticVolume bypass service-account clone authorization (kubevirt/containerized-data-importer, merged November 18, 2026)
- CDI PR #2583: Annotation to check for statically provisioned PVs (kubevirt/containerized-data-importer, merged February 22, 2023)
- KubeVirt user guide: Authorization (KubeVirt project)
- OKD docs: Enabling user permissions to clone data volumes across namespaces (OKD)
- HOL Guard CVE record (HOL, November 20, 2026)
- CDI docs: DataVolumes (kubevirt/containerized-data-importer)
- CDI docs: Clone DataVolume (kubevirt/containerized-data-importer)
- Kubernetes 1.30: Validating Admission Policy Is Generally Available (Kubernetes blog, April 24, 2024)

