CVE-2026-13218 Details
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.
A vulnerability exists in KubeVirt's virt-handler component, specifically in how it manages network cache. The issue arises in the WriteToCachedFile function, which writes data to a path within the virt-launcher container without proper protection against symbolic links. This flaw allows a user with access to the virt-launcher container to create a symlink at the cache file location. When virt-handler follows the symlink, it can overwrite a file on the host with JSON data and change the file's ownership.
Users are advised to ensure that virtual machines use the default masquerade network binding mode, restrict pods/exec access on virt-launcher pods to trusted administrators, and review NetworkAttachmentDefinition resources to limit the use of bridge-type interfaces.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-13218 | [email protected] | Vendor AdvisoryMitigation |
| https://bugzilla.redhat.com/show_bug.cgi?id=2492654 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kubevirt kubevirt | All versions |
CPE
Remediation
| |
| redhat openshift virtualization | >= 4, <= 4.22.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 6, 2026 | Initial Analysis | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 26, 2026 | New CVE Received | [email protected] |