Vulnerability
CVE-2026-13218
A flaw was found in KubeVirt's virt-handler network cache handling. The WriteToCachedFile function writes data to a launcher-rooted path using os.WriteFile and os.Chown without symlink protection. A user with access to the virt-launcher container can plant a symlink at the cache file path, causing virt-handler to follow it and overwrite an arbitrary host file with JSON content and change its ownership.
133 advisories report this vulnerability, across 6 ecosystems.
Advisories in Go
-
GHSA-q3jc-42cq-33fj
KubeVirt virt-handler network cache symlink vulnerability allows arbitrary host file overwrite
-
GO-2026-6914
KubeVirt virt-handler network cache symlink vulnerability allows arbitrary host file overwrite in kubevirt.io/kubevirt