Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Red Hat / Red Hat OpenShift Virtualization 4 | affected |
| Red Hat / Red Hat OpenShift Virtualization 4 | affected |
CWE
CWE-61
References
- https://access.redhat.com/security/cve/CVE-2026-13218
- https://bugzilla.redhat.com/show_bug.cgi?id=2492654
ADP enrichment
No English description supplied.
No references supplied.