Vulnerability · Published Nov 7, 2025 · Assigned by GitHub_M
CVE-2025-64433KubeVirt Arbitrary Container File Read
Medium 6.5
In plain English
A medium-severity path traversal in kubevirt from kubevirt. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | kubevirt.io/kubevirt | 1.5.3 | GHSA-qw6q-3pgr-5cwq |
| Go | kubevirt.io/kubevirt | 1.6.1 | GHSA-qw6q-3pgr-5cwq |
| Go | kubevirt.io/kubevirt | 1.5.3, 1.6.0-beta.0.0.20250801195231-a81b27d4600c, 1.6.1 | GO-2025-4109 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/kubevirt/kubevirt/security/advisories/GHSA-qw6q-3pgr-5cwq x_refsource_CONFIRM
- https://github.com/kubevirt/kubevirt/commit/09eafa068ec01eca0e96ebafeeb9522a878dbf64 x_refsource_MISC
- https://github.com/kubevirt/kubevirt/commit/9dc798cb1efe924a9a2b97b6e016452dec5e3849 x_refsource_MISC
- https://github.com/kubevirt/kubevirt/commit/a81b27d4600cf654274dd197119658382affdb08 x_refsource_MISC