CVE-2026-13218

GHSA-q3jc-42cq-33fj · GO-2026-6914 · published 25 Jun 2026 · updated 5 Nov 2026

Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher

4.2MediumCVSS 4.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatOpenShift Virtualization
go: kubevirt.io/kubevirt<=1.10.0-rc.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in kubevirt.io/kubevirt (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-13218 severity on Zeptric[![CVE-2026-13218](https://zeptric.io/badge/cve/CVE-2026-13218.svg)](https://zeptric.io/cve/CVE-2026-13218)