KubeVirt virt-handler Symlink Handling Vulnerability Allows Arbitrary File Ownership Changes

Vulnerability

A vulnerability exists in KubeVirt's virt-handler component, specifically in versions prior to 1.5.3 and 1.6.1. The issue arises because virt-handler does not properly verify whether the launcher-sock is a symlink or a regular file. This flaw can be exploited to change the ownership of arbitrary files on the host node to an unprivileged user with UID 107, which is the same user used by virt-launcher. As a result, this vulnerability can compromise the confidentiality, integrity, and availability of data on the host. To exploit this vulnerability, an attacker must have control over the file system of the virt-launcher pod.

Impact

Exploitation of this vulnerability allows for arbitrary file ownership changes on the host node, transferring ownership to the unprivileged user with UID 107. This could lead to unauthorized access or modification of sensitive files, such as those owned by the root user.

Reproduction

The vulnerability can be reproduced by creating a symbolic link that points to a file on the host system, such as '/etc/passwd'. This can be done by manipulating the 'launcher-sock' socket in the 'virt-launcher' pod to confuse the isolation detection, allowing the 'virt-handler' to change file ownership on the host.

Remediation

Users can upgrade to KubeVirt versions 1.5.3 or 1.6.1, where this vulnerability has been fixed.

Added: Nov 7, 2025, 11:18 PM
Updated: Nov 7, 2025, 11:18 PM

Vulnerability Rating

Custom Algorithm
spread
0.6
impact
7.5
exploitability
3.8
remediation
7.7
relevance
1.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.