Skip to content

CVE-2025-64433 KubeVirt Arbitrary Container File Read

MediumCVSS 6.5 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Kubernetes

Description

KubeVirt is a virtual machine management add-on for Kubernetes. Prior to 1.5.3 and 1.6.1, a vulnerability was discovered that allows a VM to read arbitrary files from the virt-launcher pod's file system. This issue stems from improper symlink handling when mounting PVC disks into a VM. Specifically, if a malicious user has full or partial control over the contents of a PVC, they can create a symbolic link that points to a file within the virt-launcher pod's file system. Since libvirt can treat regular files as block devices, any file on the pod's file system that is symlinked in this way can be mounted into the VM and subsequently read. Although a security mechanism exists where VMs are executed as an unprivileged user with UID 107 inside the virt-launcher container, limiting the scope of accessible resources, this restriction is bypassed due to a second vulnerability. The latter causes the ownership of any file intended for mounting to be changed to the unprivileged user with UID 107 prior to mounting. As a result, an attacker can gain access to and read arbitrary files located within the virt-launcher pod's file system or on a mounted PVC from within the guest VM. This vulnerability is fixed in 1.5.3 and 1.6.1.

Upgrade path

4 packages: 3 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
cbl-mariner kubevirt(CBL-Mariner 2.0) < 0.59.0-33; All versions 0.59.0-33 Partially fixed
azure linux kubevirt(Azure Linux 3.0) < 1.5.3-2 1.5.3-2 Fixed
kubevirt github.com/kubevirt/kubevirt < 1.5.3; = 1.6.0; = 1.6.0-alpha0; = 1.6.0-beta0 +4 more 1.5.3 Fixed
kubevirt.io/kubevirt(Go) < 1.5.3; >= 1.6.0-alpha.0, < 1.6.0-beta.0.0.20250801195231-a81b27d4600c; >= 1.6.0-alpha.0, < 1.6.1; >= 1.6.0-rc.0, < 1.6.1 1.5.3, 1.6.0-beta.0.0.20250801195231-a81b27d4600c, 1.6.1 Fixed

Affected products

ProductAffected versionsFixed in
kubevirt.io/kubevirt(Go) < 1.5.3 1.5.3
kubevirt.io/kubevirt(Go) >= 1.6.0-alpha.0, < 1.6.1 1.6.1
kubevirt.io/kubevirt(Go) >= 1.6.0-alpha.0, < 1.6.0-beta.0.0.20250801195231-a81b27d4600c 1.6.0-beta.0.0.20250801195231-a81b27d4600c
kubevirt.io/kubevirt(Go) >= 1.6.0-rc.0, < 1.6.1 1.6.1
cbl-mariner kubevirt(CBL-Mariner:2.0) All versions No fix listed
cbl-mariner kubevirt(CBL-Mariner:2.0) < 0.59.0-33 0.59.0-33
azure linux kubevirt(Azure Linux:3.0) < 1.5.3-2 1.5.3-2
kubevirt github.com/kubevirt/kubevirt = < 1.5.3 No fix listed
kubevirt github.com/kubevirt/kubevirt = >= 1.6.0-alpha.0, < 1.6.1 No fix listed
kubevirt github.com/kubevirt/kubevirt < 1.5.3 1.5.3
kubevirt github.com/kubevirt/kubevirt = 1.6.0 No fix listed
kubevirt github.com/kubevirt/kubevirt = 1.6.0-alpha0 No fix listed
kubevirt github.com/kubevirt/kubevirt = 1.6.0-beta0 No fix listed
kubevirt github.com/kubevirt/kubevirt = 1.6.0-rc0 No fix listed
kubevirt github.com/kubevirt/kubevirt = 1.6.0-rc1 No fix listed

References