VYPR
Medium severity4.2NVD Advisory· Published Jun 26, 2026· Updated Jul 6, 2026

CVE-2026-13218

CVE-2026-13218

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

3
  • Kubevirt/Kubevirt2 versions
    cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*+ 1 more
    • cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*
    • (no CPE)
  • cpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:*
    Range: >=4,<=4.22.0

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.