Bug 2581812 (CVE-2026-135102)

Summary: 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
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-23 11:57:00 UTC
A flaw was found in libkrun's Windows virtio-fs backend. The rename and link operations build paths with Win32 calls that normalize away trailing dots and spaces in the last component, while lookup and create preserve the name as given. In a sticky directory on a virtio-fs share, a guest user who can create entries can exploit this discrepancy to replace or move a file belonging to another user, including root, by appending a trailing dot or space to the name, bypassing the guest kernel's sticky-bit permission checks.