CVE-2026-135101

libkrun: Windows virtio-fs symlink creation writes the link's metadata to the target file

Published n/a CVSS 3.1 · 5.5 Medium EPSS n/a KEV · Not listed
Description
A flaw was found in libkrun. When creating a symbolic link (symlink) within a shared virtual file system on Windows, the system incorrectly applies the new link's ownership and permission metadata to the target file rather than the link itself. A local user can exploit this flaw by creating a symlink to an existing file, allowing them to overwrite that file's permissions and alter its ownership. This improper permission modification can undermine guest access controls and permit unauthorized access to files owned by other users.

Analysis

AI-generated

Technical impact

When a local user on a Windows virtual machine creates a symbolic link (symlink) within a shared virtio‑fs session managed by libkrun, the system incorrectly applies the symlink’s ownership and permission metadata to the target file. This flaw, an instance of CWE‑59, allows the user to overwrite the target file’s permissions and change its ownership, thereby bypassing the guest operating system’s file access controls and potentially gaining unauthorized read or write access to files owned by other users.

Affected Systems

The vulnerability affects Windows virtual machines that use libkrun to provide a shared virtio‑fs file system. No specific version numbers are supplied, and the vendor that supplies libkrun is not listed in the data, but any installation of libkrun that supports shared FS on Windows is susceptible.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that active exploitation is not currently documented. The attack requires local access to guest OS; an attacker with those privileges can create a malicious symlink to overwrite permissions on any file the host can access through the shared FS, potentially enabling further privilege escalation within the guest environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update libkrun to a version that contains the fix for the symlink ownership bug.
  • Restrict the creation of symbolic links in the shared filesystem—either by adjusting guest OS permissions or configuring the virtualization host to disable symlink support in virtio‑fs.
  • Implement file integrity monitoring on critical files in the guest to detect unexpected permission changes caused by symlink manipulation.

Generated by OpenCVE AI on November 24, 2026 at 02:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A flaw was found in libkrun. When creating a symbolic link (symlink) within a shared virtual file system on Windows, the system incorrectly applies the new link's ownership and permission metadata to the target file rather than the link itself. A local user can exploit this flaw by creating a symlink to an existing file, allowing them to overwrite that file's permissions and alter its ownership. This improper permission modification can undermine guest access controls and permit unauthorized access to files owned by other users.
Title libkrun: Windows virtio-fs symlink creation writes the link's metadata to the target file
Weaknesses CWE-59
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

threat_severity

Moderate

Subscriptions

No data.

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources