CVE-2026-13218
Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
CVSS Score
4.2
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-61 |
| Vendor | red hat |
| Product | red hat openshift virtualization 4 |
| Published | Jun 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat openshift virtualization 4
Be the first to know when new medium vulnerabilities affecting red hat red hat openshift virtualization 4 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
Low
Affected Versions
Red Hat / Red Hat OpenShift Virtualization 4
All versions affected Red Hat / Red Hat OpenShift Virtualization 4
All versions affected References
Credits
This issue was discovered by Huzaifa Sidhpurwala (Red Hat).