CVE-2026-13218

medium

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=2492654

https://access.redhat.com/security/cve/CVE-2026-13218

Details

Source: Mitre, NVD

Published: 2026-06-26

Updated: 2026-06-26

Risk Information

CVSS v2

Base Score: 2.4

Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:P/A:P

Severity: Low

CVSS v3

Base Score: 4.2

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L

Severity: Medium

EPSS

EPSS: 0.00105