The vulnerability exists in the virt-exportserver component of KubeVirt, which is responsible for exporting virtual machine disks. The analysis of the patch commit 6ea563fa94d8ca803f8dd9394cefd8cae36bb0ee reveals that the dirHandler function in pkg/storage/export/virt-exportserver/exportserver.go was using the standard http.Dir filesystem implementation. This implementation is insecure by default as it follows symbolic links, creating a path traversal vulnerability. An attacker with sufficient permissions to create a symbolic link within an exported Persistent Volume Claim (PVC) could point this link to any file on the virt-exportserver pod's filesystem. When the dirHandler served a request for this symlink, it would disclose the contents of the targeted file. The patch replaces the insecure http.Dir with a custom symlinkSafeDir implementation that properly resolves paths and prevents symlinks from escaping the root directory, thus mitigating the vulnerability.