CVE-2026-13201
Beschrijving NL
Er werd een fout gevonden in het veiligheidspadpakket van KubeVirt. De OpenAtNoFollow-functie gebruikt O_PATH|O_NOFOLLOW om een bestandsdescriptor naar een padblad te verkrijgen, maar downstream helpers werken via /proc/self/fd/N met behulp van link-volgende syscalls. Wanneer het blad een symlink is, derefereert de kernel het, waardoor de beoogde no-follow-bescherming wordt verslagen. Een aanvaller met toegang tot een virt-launcher-pod kan dit misbruiken om ervoor te zorgen dat virt-handler bestandseigendom of toestemmingswijzigingen toepast op een onbedoeld hostpad.
Origineel (Engels) tonen
A flaw was found in KubeVirt's safepath package used by virt-handler. The OpenAtNoFollow function uses O_PATH|O_NOFOLLOW to obtain a file descriptor to a path leaf, but downstream operations resolve the path via /proc/self/fd/N using link-following syscalls. When the leaf is a symlink, the kernel dereferences it, defeating the intended no-follow protection. An attacker with access to a virt-launcher pod can exploit this to redirect virt-handler's IPC socket connections, including the notify socket used for VM domain lifecycle events. By hijacking this socket, the attacker can inject arbitrary domain events into virt-handler, causing it to take incorrect lifecycle actions, corrupt VM state in the Kubernetes API, or crash — resulting in sustained denial of VM management services for all virtual machines on the affected node. Additionally, the same symlink following flaw allows virt-handler to apply file ownership or permission changes to unintended host paths.