{"id":"GHSA-q3jc-42cq-33fj","summary":"KubeVirt virt-handler network cache symlink vulnerability allows arbitrary host file overwrite","details":"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.","aliases":["CVE-2026-13218"],"modified":"2026-11-04T17:30:04.830667371Z","published":"2026-06-26T00:32:07Z","database_specific":{"nvd_published_at":"2026-06-26T00:16:51Z","cwe_ids":["CWE-61"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-11-04T17:23:34Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13218"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-13218"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492654"},{"type":"PACKAGE","url":"https://github.com/kubevirt/kubevirt"},{"type":"WEB","url":"https://github.com/kubevirt/kubevirt/blob/e63503d2f3a166f79f0891f8e1c3450eb39f88ac/pkg/network/cache/cache.go#L90-L103"}],"affected":[{"package":{"name":"kubevirt.io/kubevirt","ecosystem":"Go","purl":"pkg:golang/kubevirt.io/kubevirt"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.10.0-rc.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-q3jc-42cq-33fj/GHSA-q3jc-42cq-33fj.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L"}]}