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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://access.redhat.com/security/cve/CVE-2026-13218 Vendor Advisory, Mitigation
- https://bugzilla.redhat.com/show_bug.cgi?id=2492654 Issue Tracking, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 4.2 · kubevirt, redhatNVD modified 2026-10-25 22:10
Affected (CPE criteria) 2
cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*cpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:*
References 2
- https://access.redhat.com/security/cve/CVE-2026-13218 Vendor Advisory, Mitigation
- https://bugzilla.redhat.com/show_bug.cgi?id=2492654 Issue Tracking, Vendor Advisory