Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Import is normally an authenticated low-privilege API action (PR:L) over the network (AV:N); the symlink primitive is trivial (AC:L) and container-to-host root breaks scope (S:C) with full C/I/A loss.
Primary rating from Vendor (ubuntu).
CVSS VectorVendor: ubuntu
Lifecycle Timeline
3DescriptionCVE.org
A link following vulnerability in LXD allows an attacker to achieve root command execution on the host system. During the import or unpacking of crafted image or backup archives, LXD fails to properly validate and confine the backup.yaml file when it exists as a symbolic link. An attacker can exploit this flaw by providing a malicious archive with a symlinked backup.yaml file, causing LXD to process unconfined configuration metadata and execute arbitrary commands with root privileges.
AnalysisAI
Privilege escalation to host root in Canonical LXD occurs when the container manager unpacks crafted image or backup archives, because it follows a symbolic link where the backup.yaml metadata file should be and then processes attacker-controlled configuration outside its intended confinement. A low-privileged LXD user who can import a malicious archive can execute arbitrary commands as root on the underlying host, breaking the container/host trust boundary (scope change). Rated CVSS 9.9; no public exploit identified at time of analysis and not listed in CISA KEV, but the fix is coordinated through GitHub advisory GHSA-fv82-v4fj-mm4m.
Technical ContextAI
LXD is a system-container and VM manager (built on LXC/liblxc) that ships images and instance backups as archives containing a backup.yaml file describing the instance configuration and metadata. This flaw is CWE-59 (Link Following / improper link resolution): during import/unpack LXD does not verify that backup.yaml is a regular file confined within the extraction directory, so a symlink placed at that path is dereferenced and its target is read and acted upon as trusted configuration. Because the daemon runs as root on the host, processing this unconfined metadata leads to command execution with root privileges - a classic archive-extraction symlink traversal that escapes the container boundary into the host.
RemediationAI
Patch available per vendor advisory: upgrade LXD to the fixed release identified in GHSA-fv82-v4fj-mm4m (https://github.com/canonical/lxd/security/advisories/GHSA-fv82-v4fj-mm4m); the exact patched version is published there and should be applied on all hosts running the LXD daemon. Until patched, restrict who can import images and backups - treat lxc image import / lxc import (backup restore) as a privileged operation and do not accept archives from untrusted tenants or third parties, since the vulnerability triggers during unpack. As compensating controls, limit LXD API access to trusted administrators (tighten TLS client-cert trust and any restricted/project-scoped user permissions that allow import), and validate/quarantine external archives out-of-band before import; the trade-off is reduced self-service for tenants and added operational overhead. Avoid importing backups produced on untrusted hosts.
Cross-Site Request Forgery (CSRF) in LXD-UI in Canonical LXD versions >= 5.0 on Linux allows an attacker to create and s
Privilege Escalation in operations API in Canonical LXD <6.5 on multiple platforms allows attacker with read permissions
Information Spoofing in devLXD Server in Canonical LXD versions 4.0 and above on Linux container platforms allows attack
Path Traversal in the log file retrieval function in Canonical LXD 5.0 LTS on Linux allows authenticated remote attacker
A arbitrary file access vulnerability (CVSS 6.5) that allows an attacker with instance configuration permissions. Risk
Host root code execution in Canonical LXD arises from a path-traversal flaw in instance template processing, letting an
Arbitrary host file read and write in Canonical LXD occurs because the image import/unpack routine does not verify wheth
Canonical LXD's NVIDIA GPU passthrough configuration handler fails to sanitize newline characters in user-supplied `nvid
Path traversal in Canonical's LXD container and VM manager allows a user with backup import/restore privileges to write
Authorization bypass in Canonical LXD (6.0 before 6.10, 5.21.x before 5.21.6, 5.0.x before 5.0.8) lets an authenticated
Project-confinement bypass in Canonical LXD lets an authenticated user holding can_create_instances on a restricted proj
Storage quota bypass in Canonical LXD (5.0.x before 5.0.8, 5.21.x before 5.21.6, and 6.0 before 6.10) lets an authentica
Same weakness CWE-59 – Improper Link Resolution Before File Access
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: CriticalShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-57538