CVE-2026-13218
MEDIUMKubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
Title source: cnaDescription
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.
References (2)
Core 2
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry
x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-13218
Issue Tracking, X_Refsource_Redhat issue-tracking
x_refsource_redhat
RHBZ#2492654
https://bugzilla.redhat.com/show_bug.cgi?id=2492654
Scores
CVSS v3
4.2
EPSS
0.0011
EPSS Percentile
1.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-61
Status
published
Products (3)
kubevirt/kubevirt
Red Hat/Red Hat OpenShift Virtualization 4
redhat/openshift_virtualization
4 - 4.22.0
Published
Jun 26, 2026
Tracked Since
Jun 26, 2026