CVE-2026-13218
published 2026-06-26CVE-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…
PriorityP424medium4.2CVSS 3.1
AVLACHPRLUINSCCNILAL
EPSS
0.11%
1.4th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| container-native-virtualization | virt-handler | — | — |
| container-native-virtualization | virt-handler-rhel9 | — | — |
| redhat | openshift_virtualization | 4 – 4.22.0 | — |
CVSS provenance
nvdv3.14.2MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L
vendor_redhat4.2MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kubevirt: kubevirt: symlink following in WriteToCachedFile allows host file overwrite from virt-launcher
vendor_redhat·2026-06-25·CVSS 4.2
CVE-2026-13218 [MEDIUM] CWE-61 kubevirt: kubevirt: symlink following in WriteToCachedFile allows host file overwrite from virt-launcher
kubevirt: kubevirt: symlink following in WriteToCachedFile allows host file overwrite from virt-launcher
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.
Statement: This flaw affects OpenShift Virtualization deployments where virtual machines are configured with bridge or other non-masquerade network interfaces. The default network binding mode in OpenShift Virtualization is masquerade, which does not trigger the vulnerable code path — e
GHSA
A flaw was found in KubeVirt's virt-handler network cache handling.
ghsa_unreviewed·2026-06-26
CVE-2026-13218 [MEDIUM] CWE-61 A flaw was found in KubeVirt's virt-handler network cache handling.
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.
No detection rules found.
No public exploits indexed.
2026-06-26
Published