Skip to content
OpenAdvisories

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

VendorProductAffectedFixed
Red Hat Red Hat Container Native Virtualization 4.12 — —
Red Hat Red Hat Container Native Virtualization 4.13 — —
Red Hat Red Hat Container Native Virtualization 4.14 — —
Red Hat Red Hat Container Native Virtualization 4.15 — —
Red Hat Red Hat Container Native Virtualization 4.16 — —
Red Hat Red Hat Container Native Virtualization 4.17 — —
Red Hat Red Hat Container Native Virtualization 4.18 — —
Red Hat Red Hat Container Native Virtualization 4.19 — —
Red Hat Red Hat Container Native Virtualization 4.20 — —
Red Hat Red Hat Container Native Virtualization 4.21 — —
Red Hat Red Hat Container Native Virtualization 4.22 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP7 kubevirt 1.7.4-150700.3.33.1 SUSE-SU-2026:3480-1
SLES 15 SP7 kubevirt-1.6 1.6.6-150700.15.17.1 SUSE-SU-2026:3630-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed kubevirt1.8 1.8.4-3.1 openSUSE-SU-2026:11392-1
openSUSE Tumbleweed kubevirt1.9 1.9.0-1.1 openSUSE-SU-2026:11520-1
openSUSE Leap 16.0 kubevirt1.8 1.8.4-160000.1.1 openSUSE-SU-2026:21590-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kubevirt 1.8.4-4 —

Advisories 5

References