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

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 4.2CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:Lredhat
CVSS 3.1MEDIUM 4.2CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:LNVD · secalert@redhat.com (Secondary)

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Red Hat · Red Hat OpenShift Virtualization 4
Red Hat · Red Hat OpenShift Virtualization 4

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD