CVE-2026-13218Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
Descripción
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.
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| kubevirt | kubevirt | — | |
| redhat | openshift virtualization | 4 – ≤ 4.22.0 | |
| Red Hat | Red Hat OpenShift Virtualization 4 | all versions |
Referencias y parches
- https://access.redhat.com/security/cve/CVE-2026-13218 vdb-entryVendor AdvisoryMitigation
- RHBZ#2492654 issue-trackingIssue TrackingVendor Advisory
Coincidencias CPE (NVD) (2)
cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*cpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:*≥ 4 ≤ 4.22.0