Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-13218 EUVD-2026-39594GHSA-q3jc-42cq-33fjGO-2026-6914

Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher

Published Jun 25, 2026 · Updated Jun 26, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat OpenShift Virtualization 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kubevirt +1 No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling docker-machine-driver-harvester No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go kubevirt.io/kubevirt <= 1.10.0-rc.0 — GHSA-q3jc-42cq-33fj
Go kubevirt.io/kubevirt all versions — GO-2026-6914

References