Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Kubevirt | Kubevirt | - |
| Redhat | Openshift Virtualization | >= 4, <= 4.22.0 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2026-13218Vendor AdvisoryMitigation
- https://bugzilla.redhat.com/show_bug.cgi?id=2492654Issue TrackingVendor Advisory
FAQ
What is CVE-2026-13218?
CVE-2026-13218 is a vulnerability with a CVSS score of 4.2 (MEDIUM). 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 u...
How severe is CVE-2026-13218?
CVE-2026-13218 has been rated MEDIUM with a CVSS base score of 4.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-13218?
Check the references section above for vendor advisories and patch information. Affected products include: Kubevirt Kubevirt, Redhat Openshift Virtualization.