CVE-2026-135102

libkrun: Windows virtio-fs rename and link with a trailing dot or space act on another entry, bypassing guest sticky-bit checks

Published n/a CVSS 3.1 · 5.5 Medium EPSS n/a KEV · Not listed
Description
A flaw was found in libkrun. Due to inconsistent file path normalization in the Windows filesystem backend, rename and link operations remove trailing dots and spaces while file creation operations preserve them. A local guest user with write access to a shared directory can exploit this discrepancy to bypass permission controls. Consequently, an attacker can overwrite, move, or replace files belonging to other users, including the root user.

Analysis

AI-generated

Technical impact

A flaw in libkrun’s Windows virtio‑fs path handling allows a local guest user with write access to a shared directory to bypass sticky‑bit checks by using rename and link operations that strip trailing dots or spaces from file names, while file creation preserves them. This flaw, classified as CWE-706, lets an attacker overwrite or replace files belonging to other users, including root. The vulnerability enables elevation of privileges within the guest by silently replacing critical files.

Affected Systems

The affected component is libkrun used by Windows virtio‑fs. No specific version numbers are listed in the advisory, and the issue applies to any installation that relies on the Windows filesystem backend of libkrun.

Risk and Exploitability

The CVSS score of 5.5 classifies the issue as moderate severity. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog. An attacker must be a local user with write access to a shared directory, which is a realistic condition in many virtualized environments. The attack requires no special network connectivity or elevated privileges beyond the guest user’s write rights, making exploitation feasible for users who can place files in the shared space.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Review and limit write permissions on virtio‑fs shared directories so that only trusted users can modify files.
  • Ensure that files residing on virtio‑fs do not carry trailing dots or spaces before granting write access to avoid path normalization issues.
  • Monitor privileged user directories for unexpected file replacements or overwrites and investigate promptly.
  • If a vendor patch or updated version of libkrun that corrects the normalization inconsistency becomes available, upgrade immediately. If no patch exists, consider disabling rename/link operations for non‑privileged or isolating guest file systems from critical directories.

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. Due to inconsistent file path normalization in the Windows filesystem backend, rename and link operations remove trailing dots and spaces while file creation operations preserve them. A local guest user with write access to a shared directory can exploit this discrepancy to bypass permission controls. Consequently, an attacker can overwrite, move, or replace files belonging to other users, including the root user.
Title libkrun: Windows virtio-fs rename and link with a trailing dot or space act on another entry, bypassing guest sticky-bit checks
Weaknesses CWE-706
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-706

    Use of Incorrectly-Resolved Name or Reference

Sources