Technical impact
In LXD versions prior to 4.0.16, 5.0.12, 5.21.10, and 6.10.2, the snapshot names supplied during a storage volume push migration are not validated, allowing a client with project authorization to construct arbitrary host file paths. This flaw, a result of unchecked input and pathname manipulation (CWE‑20 and CWE‑22), lets the client create or delete files on the host as the root user, effectively granting root‑level code execution and full filesystem control.
Affected Systems
This vulnerability affects Canonical’s LXD containers running any of the following versions: 4.0.0 through 4.0.15, 5.0.0 through 5.0.11, 5.21.0 through 5.21.9, and 6.10.0 through 6.10.1. Systems using these LXD binaries are at risk; any host running a LXD daemon that permits custom volume migration without proper validation is affected.
Risk and Exploitability
The CVSS score of 6.5 indicates moderate severity, and the lack of an EPSS value means current exploit probability is unknown, yet the vulnerability is listed outside CISA’s KEV catalog. The attack requires a trusted client authenticated to the specific project where the LXD daemon performs the migration, but once a malicious snapshot name is provided, the LXD server will write files or delete paths with root privileges. A successful exploitation can lead to arbitrary code execution on the host, making the risk high in practice despite the moderate metric.