CVE-2026-77159
MEDIUM 5.5CVSS 3.1Libvirt: unsafe chown in qemutpmemulatorpreparehost() allows arbitrary file ownership change via symlink
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.
- Published
- 11 Sep 2026
- Last modified
- 25 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-61
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CVE List | redhat | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libvirtcpe:/o:redhat:enterprise_linux:10 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libvirtcpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libvirtcpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | virt:rhel/libvirtcpe:/o:redhat:enterprise_linux:8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libvirtcpe:/o:redhat:enterprise_linux:9 |
all versions |
References
- https://access.redhat.com/security/cve/CVE-2026-77159 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2531811 · issue-tracking, x_refsource_REDHAT
- https://gitlab.com/libvirt/libvirt/-/work_items/909
History
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 11 Sep 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 11 Sep 2026)