CVE-2026-13201
Received Received - Intake
BaseFortify

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: Red Hat, Inc.

Description
A flaw was found in KubeVirt's safepath package. The OpenAtNoFollow function uses O_PATH|O_NOFOLLOW to obtain a file descriptor to a path leaf, but downstream helpers operate via /proc/self/fd/N using link-following syscalls. When the leaf is a symlink, the kernel dereferences it, defeating the intended no-follow protection. An attacker with access to a virt-launcher pod can exploit this to cause virt-handler to apply file ownership or permission changes to an unintended host path.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-25
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
redhat kubevirt safepath
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-61 The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in KubeVirt's safepath package, specifically in the OpenAtNoFollow function. The function attempts to safely obtain a file descriptor to a path leaf without following symbolic links by using O_PATH and O_NOFOLLOW flags. However, downstream helper functions access the file descriptor via /proc/self/fd/N and use system calls that follow symbolic links. As a result, if the path leaf is a symbolic link, the kernel dereferences it, bypassing the intended protection against following symlinks.

An attacker who has access to a virt-launcher pod can exploit this flaw to trick the virt-handler component into applying file ownership or permission changes to an unintended path on the host system, potentially affecting files outside the intended scope.

Impact Analysis

This vulnerability can allow an attacker with access to a virt-launcher pod to cause the virt-handler to modify file ownership or permissions on unintended host paths. This could lead to unauthorized changes to critical files or directories on the host system, potentially compromising system integrity or security.

Because the attacker can influence file permissions or ownership on the host, this may enable privilege escalation, unauthorized access, or disruption of services running on the host.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-13201. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart