CVE-2026-13218
Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
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.
INFO
Published Date :
June 25, 2026, 11:23 p.m.
Last Modified :
June 25, 2026, 11:23 p.m.
Remotely Exploit :
No
Source :
redhat
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 53f830b8-0a3f-465b-8143-3b8a9948e749 |
Solution
- Ensure virt-handler does not follow symlinks during cache file writes.
- Implement stricter file permission checks on cache files.
- Review virt-launcher container security context.
- Update KubeVirt to a patched version.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-13218 vulnerability anywhere in the article.