CVE-2026-135328

Kubevirt: containerized-data-importer: cdi: upload client certificate identity injection via uploadclientname pvc annotation enables cross-namespace writes

Published Nov 25, 2026 CVSS 3.1 · 5.8 Medium EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw in the kubevirt Containerized Data Importer (CDI) clone controller allows an attacker to inject a client certificate CommonName by setting the tenant‑configurable cdi.kubevirt.io/uploadClientName PVC annotation without any validation. Since the upload service authenticates clients only by matching the certificate’s CA chain and CommonName, and does not enforce a binding to a specific namespace or PVC, an attacker who can obtain a valid client certificate can write arbitrary data to any upload‑ready PVC that the service can reach from the internal cluster network.

Affected Systems

The vulnerability affects installations of the kubevirt Containerized Data Importer component of kubevirt, specifically the clone controller that handles upload requests. No specific product version numbers are listed, so all versions prior to the fix (if any) should be treated as vulnerable.

Risk and Exploitability

The CVSS score of 5.8 indicates a moderate severity, and the vulnerability is not yet recorded in the CISA KEV catalog. Exploitation requires the ability to generate a CDI‑CA‑signed certificate and reach the upload service, which is typically available to any pod or user with sufficient cluster privileges. Once achieved, the attacker can modify or replace disk images of virtual machines in other namespaces, causing integrity compromise. The attack is network‑based and relies on unauthenticated certificate CN injection, making it relatively straightforward if the attacker has cluster access.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Upgrade kubevirt to the latest release of CDI that contains the fix for the CommonName injection bug
  • Configure admission controls or custom validation to restrict the cdi.kubevirt.io/uploadClientName annotation to trusted values and enforce namespace binding
  • Apply Kubernetes NetworkPolicies or firewall rules to limit reachability of the CDI upload service only to authorized namespaces or workloads

Generated by OpenCVE AI on November 25, 2026 at 01:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title kubevirt: containerized-data-importer: CDI: upload client certificate identity injection via uploadClientName PVC annotation enables cross-namespace writes Kubevirt: containerized-data-importer: cdi: upload client certificate identity injection via uploadclientname pvc annotation enables cross-namespace writes
First Time appeared Redhat
Redhat container Native Virtualization
CPEs cpe:/a:redhat:container_native_virtualization:4
cpe:/a:redhat:container_native_virtualization:5
Vendors & Products Redhat
Redhat container Native Virtualization
References
Type Values Removed Values Added
Description 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.
Title kubevirt: containerized-data-importer: CDI: upload client certificate identity injection via uploadClientName PVC annotation enables cross-namespace writes
Weaknesses CWE-290
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N'}

threat_severity

Moderate

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 2:21 AM
Reserved
Nov 23, 2026, 4:39 PM
Status
Awaiting Analysis
Published
Nov 25, 2026, 3:17 AM
Modified
Nov 25, 2026, 3:17 AM
Severity
Moderate
Public date
Nov 24, 2026, 12:00 AM