Technical impact
The vulnerability is a path traversal flaw in Canonical LXD's handling of container device paths and virtual machine disk image formats. An authenticated user with project access—this includes even unprivileged local users through the lxd-user namespace—can supply crafted device paths or QCOW2 backing file references that cause LXD to resolve them on the host. This flaw allows reading, modifying, or deleting arbitrary files on the host filesystem or Ceph RBD images. Through this capability an attacker can gain full root privileges on the host system. The weakness is a classic CWE‑22 path traversal.
Affected Systems
Canonical LXD versions prior to 4.0.16, 5.0.12, 5.21.10 and 6.10.2 are vulnerable. The issue is present in LXD releases that use the legacy device path resolution and disk format detection logic. The impacted component is the host side of the LXD daemon that processes device declarations and disk backing file metadata.
Risk and Exploitability
The CVSS score of 6.5 indicates moderate severity; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The vulnerability requires authentication with project level permissions, so the attack vector is local inside the host or the project. Because the flaw allows modification of host files, once an attacker controls the device path he can elevate privileges to root on the host. Given the lack of public exploit data, the immediate risk is primarily for environments where LXD is exposed to untrusted users or where project permissions are misconfigured.