CVE-2026-13218
Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
MEDIUM 4.2
En bref
- Source
- NVD
- EPSS
- EPSS 0.14 % · centile 3 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Analyzed
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.
Faiblesses (CWE)
- CWE-61 — UNIX Symbolic Link (Symlink) Following
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L | redhat |
| CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L | NVD · secalert@redhat.com (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-39594
- GCVE · GCVE-0-2026-13218
Configurations affectées (CPE NVD)
cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*cpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:*≥ 4 ≤ 4.22.0
Produits affectés
| Produit | Versions |
|---|---|
| Red Hat · Red Hat OpenShift Virtualization 4 | |
| Red Hat · Red Hat OpenShift Virtualization 4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |