A flaw was found in kubevirt Containerized Data Importer (CDI). The CDI clone controller derives the CommonName of a CDI-CA-signed upload client certificate from the tenant-settable cdi.kubevirt.io/uploadClientName PVC annotation without validation, and the upload server authenticates clients only by certificate CA chain and CommonName string match, with no namespace or PVC binding. A namespace user can obtain a valid client certificate and write arbitrary data into any upload-ready PVC in any namespace whose upload Service is reachable from the cluster network, resulting in cross-namespace integrity impact on disk images used by virtual machines.
Exposure can be reduced by deploying a default-deny ingress NetworkPolicy in namespaces using CDI uploads, permitting ingress to the cdi-upload-* upload pods only from the CDI (operator) namespace. Cluster administrators can also restrict CDI upload usage via RBAC or admission policies rejecting cdi.kubevirt.io/uploadClientName on user-created PVCs as an interim measure.