Skip to main content

KubeVirt CVE-2026-13218

| EUVDEUVD-2026-39594 MEDIUM
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-06-26 secalert@redhat.com GHSA-q3jc-42cq-33fj
4.2
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain shell access in virt-launcher container
  2. Delivery
    Identify virt-handler cache file path on launcher filesystem
  3. Exploit
    Plant symlink redirecting cache path to target host file
  4. Install
    Await virt-handler WriteToCachedFile invocation
  5. C2
    virt-handler follows symlink, overwrites host file with JSON
  6. Execute
    virt-handler chowns host file to container UID
  7. Impact
    Host service reads corrupted or attacker-owned file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling UNIX symlink resolution
Exploitation Conditions

Exploitation requires that the attacker hold active access to the virt-launcher container (e.g., shell access via kubectl exec or a guest escape), sufficient to create a symlink at the specific filesystem path used by virt-handler's WriteToCachedFile for network cache storage. The symlink must be planted before virt-handler performs its next cache write operation, introducing a timing dependency that contributes to AC:H. The vulnerability is limited to environments where KubeVirt is deployed and virt-handler and virt-launcher are co-resident on the same node. Exploitation is constrained to overwriting files with valid JSON content and changing file ownership - arbitrary binary writes are not possible. Host files that are not accessible from the path virt-handler uses cannot be targeted. No network-facing or unauthenticated exploitation path exists; the CVSS vector (AV:L/PR:L) confirms a local, low-privilege prerequisite.

Impact

The official CVSS 3.1 score of 4.2 (Medium) reflects the realistic exploitation difficulty. AV:L confirms local access is required - specifically, access to the virt-launcher container - and AC:H acknowledges the race-condition or timing window inherent in planting the symlink before virt-handler performs the write. PR:L indicates that low-privilege container access is sufficient. The scope change (S:C) is the most significant risk signal: successful exploitation allows a container workload to influence the host filesystem, which in hardened Kubernetes environments represents a meaningful boundary violation. The impact is constrained: content written is JSON-formatted (attacker-influenced but not arbitrary binary), and only integrity (I:L) and availability (A:L via ownership corruption) are affected - confidentiality is not impacted. No EPSS score, KEV status, or POC was present in the input data, so exploitation probability cannot be quantified beyond the CVSS signals. The combination of high complexity and local-only access substantially limits opportunistic exploitation, but in multi-tenant Kubernetes environments where untrusted workloads run alongside KubeVirt, the container-to-host write primitive warrants patching as part of normal vulnerability management. No conflicting signals were detected between the CVSS vector and the description.

Exploit ScenarioDerived

An attacker who has gained shell access inside a virt-launcher VM pod - for example, through a guest escape or a compromised containerized workload - identifies the filesystem path where virt-handler writes its network cache file. The attacker replaces or pre-creates that path as a symlink pointing to a sensitive host file such as /etc/cron.d/kubevirt or a kubeconfig. When virt-handler next invokes WriteToCachedFile, it follows the symlink and overwrites the host target with JSON content, potentially corrupting the file and transferring ownership to a container-controlled UID, degrading host-level services or enabling further privilege escalation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 26, 2026

Symlink-following in KubeVirt's virt-handler permits a container-level attacker to overwrite arbitrary host files and change their ownership. An attacker with access to the virt-launcher container can plant a symlink at the network cache file path expected by the WriteToCachedFile function; virt-handler then follows that symlink when calling os.WriteFile and os.Chown, enabling writes of attacker-influenced JSON content to any path accessible by virt-handler on the host. This represents a partial container-to-host escape - a scope change from the container context to the underlying node - with no public exploit identified at time of analysis.

RemediationAI

The primary fix should be obtained from the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-13218 and the upstream KubeVirt project; no specific patched version number was present in the available input data, so no exact fix version can be cited. Until a patch is applied, compensating controls include restricting access to the virt-launcher container to only explicitly trusted workloads, enforcing Kubernetes admission controls (e.g., Pod Security Standards at the Restricted or Baseline level) to reduce the population of principals that can interact with launcher pods, and reviewing RBAC policies to ensure only necessary service accounts have exec or attach access to virt-launcher containers. Note that these controls reduce exposure but do not eliminate the underlying symlink-following defect in virt-handler. Monitor the Bugzilla ticket at https://bugzilla.redhat.com/show_bug.cgi?id=2492654 for upstream fix commits and released package versions.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

KubeVirt enables running virtual machines within Kubernetes clusters. The virt-handler is a privileged DaemonSet pod running on each Kubernetes node with access to host namespaces and filesystem paths; virt-launcher is a less-privileged per-VM pod that houses the actual guest workload. The WriteToCachedFile function in virt-handler writes network cache data to a path rooted in the virt-launcher filesystem, using Go's os.WriteFile followed by os.Chown, without validating whether the target path is a symlink before performing I/O. This matches CWE-61 (UNIX Symbolic Link Following): the vulnerable code does not perform a pre-operation symlink check (e.g., os.Lstat or O_NOFOLLOW), allowing an attacker in the virt-launcher container to redirect virt-handler's privileged write operation to an arbitrary host file. The scope change (S:C in the CVSS vector) reflects that exploitation crosses the container/host boundary.

Know when Kubevirt gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 4.2 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L
vuln.today AI 4.2 MEDIUM

Local vector and low privileges reflect container-level access requirement; high complexity captures symlink timing window; scope change applies due to host filesystem impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L
SUSE MEDIUM
Red Hat 4.2 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
Low

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
enterprise Kubernetes virtualization platform, Red Hat OpenShift Virtualization
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

21
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +21
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*
cpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:*

Related Vulnerabilities in KubeVirt Resource and Request Handling Flaws

View all 3
CVE-2025-64324 HIGH POC
8.5 Nov 18

KubeVirt is a virtual machine management add-on for Kubernetes. Rated high severity (CVSS 8.5), this vulnerability is no

CVE-2025-64436 MEDIUM POC
6.9 Nov 07

KubeVirt is a virtual machine management add-on for Kubernetes. Rated medium severity (CVSS 6.9), this vulnerability is

CVE-2019-3841 MEDIUM POC
6.8 Mar 25

Kubevirt/virt-cdi-importer, versions 1.4.0 to 1.5.3 inclusive, were reported to disable TLS certificate validation when

CVE-2022-1798 MEDIUM POC
6.5 Sep 15

A path traversal vulnerability in KubeVirt versions up to 0.56 (and 0.55.1) on all platforms allows a user able to confi

CVE-2020-14316 CRITICAL
9.9 Jul 29

A flaw was found in kubevirt 0.29 and earlier. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploi

CVE-2023-26484 HIGH
8.2 Mar 15

KubeVirt is a virtual machine management add-on for Kubernetes. Rated high severity (CVSS 8.2), this vulnerability is re

CVE-2026-13201 HIGH
7.3 Jun 24

Local privilege boundary bypass in KubeVirt's safepath package lets an attacker who controls a virt-launcher pod trick t

CVE-2026-102623 MEDIUM
6.5 Sep 29

Denial of service in KubeVirt lets an authenticated user with permission to create VirtualMachineInstance (VMI) objects

CVE-2026-13208 MEDIUM
6.5 Jun 24

KubeVirt's virt-handler domain notify server allows a compromised virt-launcher process to forge lifecycle events for an

CVE-2019-10175 MEDIUM
6.5 Jun 28

A flaw was found in the containerized-data-importer in virt-cdi-cloner, version 1.4, where the host-assisted cloning fea

CVE-2024-33394 MEDIUM
5.9 May 02

An issue in kubevirt kubevirt v1.2.0 and before allows a local attacker to execute arbitrary code via a crafted command

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Containers 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy