CVE-2026-77159: libvirt's qemuTPMEmulatorPrepareHost() function · Symlink-following Flaw Was Found
Affects libvirtSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 8.0.0-1ubuntu7.21 : update libvirt when convenient.
Data as of 24 Nov 2026, 21:16 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 5.5 |
|---|
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.0.0-1ubuntu7.21, 10.0.0-2ubuntu8.19, 12.0.0-1ubuntu5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu to 8.0.0-1ubuntu7.21 (libvirt package) or 10.0.0-2ubuntu8.19 (libvirt package) or 12.0.0-1ubuntu5.5 (libvirt package, libvirt-hwe package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlibvirt-hwepkg:deb/ubuntu/libvirt-hwe?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.