KubeVirt virt-handler network cache symlink vulnerability allows arbitrary host file overwrite
Published 26 Jun 2026 · Updated 5 Nov 2026
Is your project on an affected kubevirt.io/kubevirt?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <=1.10.0-rc.0
- Fixed in
- No fix released
Details
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.
Is GHSA-q3jc-42cq-33fj in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected kubevirt.io/kubevirt, and gives you the command that fixes it.
More advisories for kubevirt.io/kubevirt
- LowCVE-2026-13322KubeVirt downward metrics virtio-serial server vulnerable to unbounded memory consumption in kubevirt.io/kubevirt · 5 Nov 2026
- LowCVE-2026-9804KubeVirt has a Link Following issue in kubevirt.io/kubevirt · 7 Jul 2026
- LowCVE-2026-7374KubeVirt has a Link Following vulnerability in kubevirt.io/kubevirt · 7 Jul 2026
- MediumCVE-2026-13318KubeVirt virt-api port-forward handler vulnerable to SSRF via guest-controlled VMI IP address · 26 Jun 2026
- LowCVE-2026-6383KubeVirt's authorization mechanism improperly truncates subresource names in kubevirt.io/kubevirt · 25 Jun 2026
- HighCVE-2026-9804KubeVirt has a Link Following issue · 28 May 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.