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.
CVE-2026-13218
Score 4.2 from GitHub Security Advisory published 2026-06-26. a secondary CVSS source baseline 4.2; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.2
- EG Score
- 4.2(high)
- EPSS
- 1.3%
- KEV
- Not listed
Published
June 26, 2026
Last Modified
July 6, 2026
Advisory Details (2)
Auto-updated Jun 26, 20262492654 – (CVE-2026-13218) CVE-2026-13218 kubevirt: kubevirt: symlink following in WriteToCachedFile allows host file overwrite from virt-launcher
https://bugzilla.redhat.com/show_bug.cgi?id=2492654Vendor Advisories for CVE-2026-13218(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2026-13218Microsoft Security Response Center (MSRC)Medium
Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
- GHSA-q3jc-42cq-33fjGitHub Security AdvisoriesMedium
A flaw was found in KubeVirt's virt-handler network cache handling. The WriteToCachedFile...
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 21× in last 7d / 35× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:41 UTCEG score recompute
- 2026-07-06 16:41 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-05 17:25 UTCEG score recompute
- 2026-07-05 17:25 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 18:10 UTCEG score recompute
- 2026-07-04 18:10 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 18:49 UTCEG score recompute
- 2026-07-03 18:49 UTCGHSA enrichment
- 2026-07-02 19:34 UTCEG score recompute
- 2026-07-02 19:34 UTCGHSA enrichment
- 2026-07-01 20:19 UTCEG score recompute
- 2026-07-01 20:19 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 21:04 UTCEG score recompute
- 2026-06-30 21:04 UTCGHSA enrichment
- 2026-06-29 21:48 UTCEG score recompute
- 2026-06-29 21:48 UTCGHSA enrichment
- 2026-06-28 22:33 UTCEG score recompute
- 2026-06-28 22:33 UTCGHSA enrichment
Show 10 moreShow fewer
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 23:18 UTCEG score recompute
- 2026-06-27 23:18 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 00:03 UTCEG score recompute
- 2026-06-27 00:03 UTCGHSA enrichment
- 2026-06-26 00:48 UTCEG score recompute
- 2026-06-26 00:47 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2026-13218?
When was CVE-2026-13218 disclosed?
Is CVE-2026-13218 actively exploited?
What is the CVSS score of CVE-2026-13218?
How do I remediate CVE-2026-13218?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-13218
Is Your Infrastructure Affected by CVE-2026-13218?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.