CVE-2026-13218

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
Link Resource
https://access.redhat.com/security/cve/CVE-2026-13218 Vendor Advisory Mitigation
https://bugzilla.redhat.com/show_bug.cgi?id=2492654 Issue Tracking Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*
cpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:*

History

06 Jul 2026, 17:46

Type Values Removed Values Added
References () https://access.redhat.com/security/cve/CVE-2026-13218 - () https://access.redhat.com/security/cve/CVE-2026-13218 - Vendor Advisory, Mitigation
References () https://bugzilla.redhat.com/show_bug.cgi?id=2492654 - () https://bugzilla.redhat.com/show_bug.cgi?id=2492654 - Issue Tracking, Vendor Advisory
First Time Redhat openshift Virtualization
Kubevirt
Redhat
Kubevirt kubevirt
CPE cpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:*
cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*

26 Jun 2026, 00:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-26 00:16

Updated : 2026-07-06 17:46


NVD link : CVE-2026-13218

Mitre link : CVE-2026-13218

CVE.ORG link : CVE-2026-13218


JSON object : View

Products Affected

kubevirt

  • kubevirt

redhat

  • openshift_virtualization
CWE
CWE-61

UNIX Symbolic Link (Symlink) Following