SecurityContext

CVE-2026-77159: libvirt - Privilege Escalation

  • Cve: CVE-2026-77159
  • Name: libvirt - Privilege Escalation
  • 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.
  • Impact: Local attacker can change ownership of arbitrary files, potentially leading to privilege escalation or unauthorized file access.
  • Remediation: Update to the latest version with symlink checks in qemuTPMEmulatorPrepareHost() function.
  • Vulnerability type: symlink_following
  • Vulnerability impact: privilege_escalation, file_system_write
  • Requirement type: logged_in
  • Requirements: Attacker needs local access to swtpm account
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss 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 score: 0.00162
  • Epss percentile: 0.05395
  • Assignee: [email protected]
  • Published at: 2026-09-11T11:16:54Z
  • Age in days: 74
  • Modified at: 2026-11-06T01:17:51Z
  • References total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-77159
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-61UNIX Symbolic Link (Symlink) Following

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://access.redhat.com/security/cve/CVE-2026-77159
https://bugzilla.redhat.com/show_bug.cgi?id=2531811
https://gitlab.com/libvirt/libvirt/-/work_items/909

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts