CVE-2026-13218
MEDIUM 4.2CVSS 3.1KubeVirt virt-handler network cache symlink vulnerability allows arbitrary host file overwrite
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.
- Published
- 26 Jun 2026
- Last modified
- 5 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Analyzed
- Weakness
- CWE-61
- Also known as
- GHSA-q3jc-42cq-33fjGO-2026-6914
- Sources
- NVDJSONOSV GHSA-q3jc-42cq-33fjJSONOSV GO-2026-6914JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kubevirt | kubevirtcpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:* |
(no version) | |
| NVD | redhat | openshift_virtualizationcpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:* |
>= 4, <= 4.22.0 | |
| OSV | Go | kubevirt.io/kubevirt | <= 1.10.0-rc.0 | |
| OSV | Go | kubevirt.io/kubevirt | all versions |
References
- https://access.redhat.com/security/cve/CVE-2026-13218 · Vendor Advisory, Mitigation, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2492654 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-13218 · ADVISORY
- https://github.com/kubevirt/kubevirt · PACKAGE
- https://github.com/kubevirt/kubevirt/blob/e63503d2f3a166f79f0891f8e1c3450eb39f88ac/pkg/network/cache/cache.go#L90-L103 · WEB
- https://github.com/advisories/GHSA-q3jc-42cq-33fj · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 26 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Jun 2026)