8.5High

CVE-2025-64324KubeVirt Vulnerable to Arbitrary Host File Read and Write

kubevirt kubevirt Published: (12 months ago)

Description

KubeVirt is a virtual machine management add-on for Kubernetes. The `hostDisk` feature in KubeVirt allows mounting a host file or directory owned by the user with UID 107 into a VM. However, prior to version 1.6.1 and 1.7.0, the implementation of this feature and more specifically the `DiskOrCreate` option (which creates a file if it doesn't exist) has a logic bug that allows an attacker to read and write arbitrary files owned by more privileged users on the host system. Versions 1.6.1 and 1.7.0 fix the issue.

Weakness (CWE): CWE-200CWE-732

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
kubevirt kubevirt < 1.6.1, 1.7.0-alpha.0 – < 1.7.0-rc.0

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:kubevirt:kubevirt:*:*:*:*:*:kubernetes:*:* < 1.6.1
  • cpe:2.3:a:kubevirt:kubevirt:1.7.0:alpha0:*:*:*:kubernetes:*:*
  • cpe:2.3:a:kubevirt:kubevirt:1.7.0:beta0:*:*:*:kubernetes:*:*