CVE-2026-127154: lxd: Improper link resolution in image metadata tarball unpacking
Improper link resolution in image metadata tarball unpacking in Canonical LXD before 5.0.12, 5.21.10, and 6.10.2 allows an authenticated user with a restricted client certificate to write arbitrary host files as root and execute code on the host via a crafted rootfs symlink in an image metadata tarball.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.0.12 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.21.10 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.10.2
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated LXD user with a restricted client certificate can exploit it. The attack requires supplying a crafted image metadata tarball containing a rootfs symlink.
What is the impact of successful exploitation?
The attacker can write arbitrary files on the host with root privileges and execute code on the host.
Which LXD releases need to be updated?
Versions before 5.0.12, 5.21.10, and 6.10.2 are affected. Upgrade to the applicable fixed release or a later version.