CVE-2026-13218

Medium

Description

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.

SeverityMedium
CVSS4.2
Exploit probability—
ProductKubevirt
PublishedJun 26, 2026
First seenJun 26, 2026
Weakness typeCWE-61CWE-61

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
kubevirt kubevirtNo range specified—
redhat openshift_virtualization4 ≤ v ≤ 4.22.0—
kubevirt.io/kubevirtGov ≤ 1.10.0-rc.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.