CVE-2026-13218
published medium CVSS 3.1 · 4.2Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | container-native-virtualization/virt-handlerRed Hat OpenShift Virtualization 4 | Affected | Not stated | redhat |
| Red Hat | — | container-native-virtualization/virt-handler-rhel9Red Hat OpenShift Virtualization 4 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat OpenShift Virtualization 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Virtualization 4 | Default: affected | redhat · cna |
Weaknesses
1- CWE-61 UNIX Symbolic Link (Symlink) Following
References
2- https://access.redhat.com/security/cve/CVE-2026-13218
- RHBZ#2492654 https://bugzilla.redhat.com/show_bug.cgi?id=2492654
Provider assertions
2redhat · cna
Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 36150d4bffe2c69312e9d116d442ded75e45d9e47f6736ed916f933f4d152b97
- Ingested
- 23 Sep 2026, 09:01:12 UTC
- Source record
- Official CVE record