Bug 2583149 (CVE-2026-135328) - CVE-2026-135328 kubevirt: containerized-data-importer: CDI: upload client certificate identity injection via uploadClientName PVC annotation enables cross-namespace writes
Summary: CVE-2026-135328 kubevirt: containerized-data-importer: CDI: upload client cer...
Keywords:
Status: NEW
Alias: CVE-2026-135328
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-24 11:20 UTC by OSIDB Bzimport
Modified: 2026-11-24 11:23 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-24 11:20:50 UTC
A flaw was found in the Containerized Data Importer (CDI) clone controller. The controller's ensureCertSecret (pkg/controller/clone-controller.go) issues a CDI-CA-signed client certificate whose CommonName is read verbatim from the cdi.kubevirt.io/uploadClientName annotation on the target PVC — an annotation a namespace user can set on their own PVCs, with no validation of its value at any layer (no admission check, no allowlist, no comparison to the controller-derived value). The upload server (pkg/uploadserver/uploadserver.go) authenticates clients solely by CA-chain validation plus CommonName string match, with no namespace or PVC binding; for plain upload PVCs the expected client name is the cluster-wide constant client.upload-server.cdi.kubevirt.io (pkg/controller/upload-controller.go), and for clone targets it is a deterministic, derivable string. A namespace user with standard edit-level RBAC (create/update PVCs, create pods in their own namespace) can therefore obtain a valid client certificate — the clone token validation is skipped entirely for same-namespace clones — and blind-write arbitrary disk-image data into any upload-ready PVC in any namespace whose per-PVC headless upload Service they can reach on the pod network. The write is blind but lands in the victim's disk image; a VM booting the tampered image is a further escalation path.


Note You need to log in before you can comment on or make changes to this bug.