CVE-2026-13201 Details
Description
A flaw was found in KubeVirt's safepath package used by virt-handler. The OpenAtNoFollow function uses O_PATH|O_NOFOLLOW to obtain a file descriptor to a path leaf, but downstream operations resolve the path 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 redirect virt-handler's IPC socket connections, including the notify socket used for VM domain lifecycle events. By hijacking this socket, the attacker can inject arbitrary domain events into virt-handler, causing it to take incorrect lifecycle actions, corrupt VM state in the Kubernetes API, or crash — resulting in sustained denial of VM management services for all virtual machines on the affected node. Additionally, the same symlink following flaw allows virt-handler to apply file ownership or permission changes to unintended host paths.
A vulnerability exists in KubeVirt's safepath package, specifically in the OpenAtNoFollow function. This function uses O_PATH|O_NOFOLLOW to obtain a file descriptor for the final component of a path. However, subsequent helper functions access the path through /proc/self/fd/N using syscalls that follow links. As a result, if the final component is a symlink, the kernel resolves it, undermining the intended no-follow safeguard. An attacker with access to a virt-launcher pod can exploit this flaw, causing virt-handler to mistakenly apply file ownership or permission changes to an unintended host path.
Users can mitigate this vulnerability by ensuring that SELinux is in enforcing mode, which is the default in OpenShift. This setting restricts virt-handler's ability to modify certain host files. Additionally, RHCOS immutable filesystem layers can prevent changes to core OS files. Reviewing RBAC policies to limit pod permissions on virt-launcher pods can further reduce the risk.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kubevirt kubevirt | All versions |
CPE
Remediation
| |
| redhat openshift virtualization | >= 4, <= 4.22.0 |
CPE
Remediation
| |
Change History
16 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Oct 12, 2026 | CVE Modified | [email protected] |
| Sep 21, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 7, 2026 | CVE Modified | [email protected] |
| Aug 22, 2026 | CVE Modified | [email protected] |
| Aug 16, 2026 | CVE Modified | [email protected] |
| Aug 11, 2026 | CVE Modified | [email protected] |
| Aug 11, 2026 | CVE Modified | [email protected] |
| Aug 11, 2026 | CVE Modified | [email protected] |
| Aug 6, 2026 | CVE Modified | [email protected] |
| Jul 6, 2026 | Initial Analysis | [email protected] |
| Jun 26, 2026 | CVE Modified | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 24, 2026 | New CVE Received | [email protected] |