GHSA-q3jc-42cq-33fj

    Dashboard / Vulnerabilities / GHSA-q3jc-42cq-33fj

    GHSA-q3jc-42cq-33fj

    Published: 26 Jun 2026Last Modified: 5 Nov 2026

    Summary: KubeVirt virt-handler network cache symlink vulnerability allows arbitrary host file overwrite

    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.

    Affected packages

    Package

    Name: kubevirt.io/kubevirt

    Purl: pkg:golang/kubevirt.io/kubevirt

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-q3jc-42cq-33fj | CVE-DB