A flaw was found in KubeVirt's safepath package. The...
Moderate severity
Unreviewed
Published
Jun 24, 2026
to the GitHub Advisory Database
•
Updated Jun 24, 2026
Description
Published by the National Vulnerability Database
Jun 24, 2026
Published to the GitHub Advisory Database
Jun 24, 2026
Last updated
Jun 24, 2026
A flaw was found in KubeVirt's safepath package. The OpenAtNoFollow function uses O_PATH|O_NOFOLLOW to obtain a file descriptor to a path leaf, but downstream helpers operate 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 cause virt-handler to apply file ownership or permission changes to an unintended host path.
References