CVEvulnerability
CVE-2026-77159
5.5 MEDIUM
Official page ↗
- Status
- Awaiting Analysis
- Published
- 2026-09-11
- Last modified
- 2026-09-16
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-61
Description
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.
Related
Weakness · CWE (1)
- CWE-61 UNIX Symbolic Link (Symlink) Following weakness
References
- https://access.redhat.com/security/cve/CVE-2026-77159 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2531811 bugzilla.redhat.com
- https://gitlab.com/libvirt/libvirt/-/work_items/909 gitlab.com
- https://gitlab.com/libvirt/libvirt/-/work_items/909 gitlab.com