CVE-2026-77159
A symlink-following flaw was found in libvirt's qemuTPMEmulatorPrepareHost() function. The function uses a path-based chown() on the swtpm logfile without checking for symbolic links. A local attacker with access to the swtpm account can replace the logfile with a symlink, causing libvirtd (running as root) to transfer ownership of an arbitrary file to the swtpm user.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 5.5
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS probability
- 0.16%
- CWE
- CWE-61
- Published
- 2026-09-11
- Last modified
- 2026-09-15
Weakness type
Related vulnerabilities
- CVE-2023-37460 — Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver
- CVE-2026-54420 — LiteSpeed cPanel plugin before 2.4.8 (as distributed in LiteSpeed WHM PlugIn before 5.3.2.0) mishandles symlinks provide
- CVE-2024-28189 — Judge0 vulnerable to Sandbox Escape Patch Bypass via chown running on Symbolic Link
- CVE-2024-28185 — Judge0 vulnerable to Sandbox Escape via Symbolic Link
- CVE-2025-68937 — Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of
- CVE-2026-27976 — Zed Extension Sandbox Escape via Tar Symlink Following
- CVE-2025-55345 — Unsafe symlink following in restricted workspace-write sandbox leads to RCE
- CVE-2024-54148 — Gogs has a Path Traversal in file editing UI