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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-09-11 11:16
Updated : 2026-09-15 16:17
NVD link : CVE-2026-77159
Mitre link : CVE-2026-77159
CVE.ORG link : CVE-2026-77159
JSON object : View
Products Affected
No product.
CWE
CWE-61
UNIX Symbolic Link (Symlink) Following
