CVE-2026-135328 in OpenShift Virtualization
Summary
by MITRE • 11/25/2026
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.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified within the kubevirt Containerized Data Importer (CDI) represents a critical authentication and authorization flaw rooted in insufficient validation of certificate attributes during the upload process. The core technical issue lies in how the CDI clone controller generates client certificates for data uploads. Specifically, the CommonName field of these certificates is derived directly from a tenant-settable annotation on the Persistent Volume Claim (PVC), labeled as cdi.kubevirt.io/uploadClientName. This design decision fails to implement any form of validation or binding between the certificate identity and the specific namespace or PVC context in which it was requested. Consequently, an attacker operating within a compromised or malicious Kubernetes namespace can manipulate this annotation to craft certificates with arbitrary CommonNames that mimic those authorized for other namespaces or resources.
The operational impact is severe due to the way the upload server handles authentication. The server relies exclusively on two mechanisms: verifying the certificate against its trusted Certificate Authority (CA) chain and performing a string match on the CommonName field. It does not enforce namespace isolation or verify that the requested PVC belongs to the same namespace as the requesting user or service account. This lack of context-aware validation allows for cross-namespace attacks where an authenticated user in one namespace can obtain a valid client certificate signed by the cluster CA and use it to write arbitrary data into any upload-ready PVC located in a different namespace, provided that the target Service is reachable over the cluster network. This effectively bypasses Kubernetes RBAC controls regarding volume access, leading to a complete compromise of disk image integrity for virtual machines residing in those targeted namespaces.
From an industry standards perspective, this vulnerability aligns with CWE-287, which describes Improper Authentication, as well as CWE-913, the misuse of control parameters that are not properly validated or bound to their intended context. In terms of the MITRE ATT&CK framework for Kubernetes environments, this flaw facilitates lateral movement and privilege escalation by allowing an attacker to manipulate critical infrastructure components across namespace boundaries. The ability to overwrite disk images means an adversary can inject malicious code into virtual machine operating systems, install backdoors, or exfiltrate sensitive data stored within those VMs without triggering standard security alerts associated with direct API abuse.
Mitigation strategies must focus on enforcing strict binding between certificate identities and their intended resources. Administrators should ensure that the CDI controller validates not only the CA signature but also verifies that the CommonName corresponds to a PVC owned by the requesting namespace or service account. Implementing mutual TLS (mTLS) with stricter policy enforcement, such as using OPA Gatekeeper or Kyverno policies to restrict which annotations can be set and ensuring they are validated against RBAC permissions before certificate generation is essential. Additionally, network policies should be reviewed to limit unnecessary cross-namespace communication for CDI upload services, reducing the attack surface available to potential attackers seeking to exploit this flaw across different tenant boundaries.