Skip to content
7.3 High

CVE-2026-13201 A flaw was found in KubeVirt's safepath package used by virt-handler

Description

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.

Affected products and versions

Product Affected versions Fixed in
Red Hat OpenShift Virtualization 4 Versions not published
Red Hat Container Native Virtualization 4.22 1785140336 earliest → < 1785140336 1785140336
Red Hat Container Native Virtualization 4.14 1786309624 earliest → < 1786309624 1786309624
Red Hat Container Native Virtualization 4.17 1786348529 earliest → < 1786348529 1786348529
Red Hat Container Native Virtualization 4.19 1786334215 earliest → < 1786334215 1786334215
Red Hat Container Native Virtualization 4.21 1785829701 earliest → < 1785829701 1785829701
Red Hat Container Native Virtualization 4.15 1786347656 earliest → < 1786347656 1786347656
Red Hat Container Native Virtualization 4.13 1786346596 earliest → < 1786346596 1786346596
Red Hat Container Native Virtualization 4.16 1786030071 earliest → < 1786030071 1786030071
Show the 4 other branches
Product Affected versions Fixed in
Red Hat Container Native Virtualization 4.18 1786130068 earliest → < 1786130068 1786130068
Red Hat Container Native Virtualization 4.20 1785831334 earliest → < 1785831334 1785831334
Red Hat Container Native Virtualization 4.2 1785831334 earliest → < 1785831334 1785831334
Red Hat Container Native Virtualization 4.12 1791522624 earliest → < 1791522624 1791522624

References

Timeline

  1. Published
  2. Last modified
The 96 CVEs of Red Hat OpenShift Virtualization 4 →
Track this CVE