Symlink Following Affecting libvirt package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBVIRT-19698234
  • published12 Sept 2026
  • disclosed11 Sept 2026

Introduced: 11 Sep 2026

CVE-2026-77159  (opens in a new tab)
CWE-61  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest libvirt.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvirt package and not the libvirt package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1