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.