Skip to content

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

HighCVSS 8.5 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
Technology
KubernetesRed Hat

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.

Affected products

ProductAffected versionsFixed in
kubevirt.io/kubevirt(Go) < 1.6.1 1.6.1
kubevirt.io/kubevirt(Go) >= 1.7.0-alpha.0, < 1.7.0-rc.0 1.7.0-rc.0
kubevirt.io/kubevirt(Go) >= 1.6.2, < 1.7.0-rc.0 1.7.0-rc.0
azure linux kubevirt(Azure Linux:3.0) < 1.5.3-3 1.5.3-3
azure linux kubevirt(Azure Linux:3.0) All versions No fix listed
cbl-mariner kubevirt(CBL-Mariner:2.0) < 0.59.0-31 0.59.0-31
kubevirt github.com/kubevirt/kubevirt < 1.6.1 1.6.1
kubevirt github.com/kubevirt/kubevirt >= 1.7.0-alpha.0, < 1.7.0-rc.0 1.7.0-rc.0
redhat/kubevirt(Red Hat:container_native_virtualization:4) All versions No fix listed
kubevirt github.com/kubevirt/kubevirt = 1.7.0-alpha0 No fix listed
kubevirt github.com/kubevirt/kubevirt = 1.7.0-beta0 No fix listed

References