High [CVE-2026-13201] safepath symlink following in virt-handler enables notify socket hijacking and node-level VM disruption
This high-severity Red Hat Linux advisory covers CVE-2026-13201 affecting Red Hat Container Native Virtualization 4.13, Red Hat Container Native Virtualization 4.14, Red Hat Container Native Virtualization 4.15.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
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. The primary impact is through notify socket hijacking: virt-handler uses safepath to resolve the path to the notify socket inside each virt-launcher pod.
A namespace-level tenant with pod access can replace this socket path with a symlink to an attacker-controlled socket, enabling injection of arbitrary VM domain lifecycle events.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 13 days ago·verify at source
- container-native-virtualization/virt-handler-rhel9:1786346596
- container-native-virtualization/virt-handler-rhel9:1786309624
- container-native-virtualization/virt-handler-rhel9:1786347656
- container-native-virtualization/virt-handler-rhel9:1786030071
- container-native-virtualization/virt-handler-rhel9:1786348529
- container-native-virtualization/virt-handler-rhel9:1786130068
- container-native-virtualization/virt-handler-rhel9:1786334215
- container-native-virtualization/virt-handler-rhel9:1785831334
- container-native-virtualization/virt-handler-rhel9:1785829701
- container-native-virtualization/virt-handler-rhel9:1785140336
- RHSA-2026:53655
- RHSA-2026:53671
- RHSA-2026:53826
- RHSA-2026:53721
- RHSA-2026:53684
- RHSA-2026:53838
- RHSA-2026:53797
- RHSA-2026:53763
- RHSA-2026:53728
- RHSA-2026:51031
Official advisory · high-confidence parse· fetched 13 days ago·verify at source
Mitigation checklist
- The following measures reduce the attacker pool and limit secondary impact: Review RBAC policies to restrict pods/exec permissions on virt-launcher pods to only those users who strictly require it. This reduces the number of identities that can place symlinks in the launcher filesystem. Ensure SELinux is in enforcing mode (default in OpenShift). While SELinux does not prevent the notify socket hijacking path, it restricts the set of host files targetable through the chown/chmod path by blocking operations on files with protected security labels. RHCOS immutable filesystem layers prevent modification of core OS files through the chown/chmod path. Note: no mitigation currently addresses the notify socket hijacking vector. The attacker's ability to inject domain events into virt-handler is not constrained by SELinux or filesystem immutability.
Official advisory · high-confidence parse· fetched 13 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.