{"id":"CVE-2026-13218","revision":"8487c4ce956144ee9f7be022fbf3af37","records":[{"revision":"8487c4ce956144ee9f7be022fbf3af37","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-13218","aliases":[],"title":"Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher","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.","state":0,"publishedAt":"2026-06-25T23:23:23.228+00:00","modifiedAt":"2026-06-26T14:58:48.021+00:00","affected":[{"ecosystem":"https://access.redhat.com/downloads/content/package-browser/","name":"container-native-virtualization/virt-handler","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Red Hat\",\n                    \"product\": \"Red Hat OpenShift Virtualization 4\",\n                    \"collectionURL\": \"https://access.redhat.com/downloads/content/package-browser/\",\n                    \"packageName\": \"container-native-virtualization/virt-handler\",\n                    \"defaultStatus\": \"affected\",\n                    \"cpes\": [\n                        \"cpe:/a:redhat:container_native_virtualization:4\"\n                    ]\n                }"},{"ecosystem":"https://access.redhat.com/downloads/content/package-browser/","name":"container-native-virtualization/virt-handler-rhel9","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Red Hat\",\n                    \"product\": \"Red Hat OpenShift Virtualization 4\",\n                    \"collectionURL\": \"https://access.redhat.com/downloads/content/package-browser/\",\n                    \"packageName\": \"container-native-virtualization/virt-handler-rhel9\",\n                    \"defaultStatus\": \"affected\",\n                    \"cpes\": [\n                        \"cpe:/a:redhat:container_native_virtualization:4\"\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L","score":4.2,"severity":"MEDIUM"}],"references":["https://access.redhat.com/security/cve/CVE-2026-13218","https://bugzilla.redhat.com/show_bug.cgi?id=2492654"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-13218","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-13218","identifiers":["CVE-2026-13218"]},"retained":false,"historicalAffected":[]}],"coverage":[]}