Link following in LXD - CVE-2026-127154

 

Link following in LXD - CVE-2026-127154

Published: November 27, 2026


Vulnerability identifier: #VU170745
CSH Severity: Medium
CVSS v4: 7.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-127154
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to write arbitrary files on the host as root, potentially leading to root code execution or service disruption.

The vulnerability exists due to improper symbolic link resolution in LXD's image unpacking and virtual machine backup restoration routines when resolving write destinations. A remote user can supply a crafted container image, virtual machine image, or virtual machine backup to redirect privileged writes outside the instance volume.


Affected software

LXD

How to mitigate CVE-2026-127154

Install security update from vendor's website.

LXD - addressed in versions 4.0.16, 5.0.12, 5.21.10, 6.10.2

External References

Related Security Bulletins