Technical impact
The flaw in Canonical LXD allows a remote authenticated user who has project access to supply a specially crafted device name during instance or device removal. This weaponizes a path traversal weakness that causes LXD to resolve the device name relative to a privileged host directory and delete the target. As a result, the attacker can remove arbitrary files and directories from the host as the root user, potentially destroying services, compromising system integrity, and causing denial of service. The weakness is identified as path traversal and improper authorization control. The impact is confined to the host file system; it does not grant code execution but enables destructive file system modifications that jeopardize confidentiality, integrity, and availability.
Affected Systems
Canonical LXD versions 4.8 up to 5.0.11, 5.21.9, and 6.10.1 were affected. The vulnerability is fixed in LXD 5.0.12, 5.21.10, and 6.10.2 and later. Administrators managing older releases should verify that hosts do not run the susceptible versions.
Risk and Exploitability
The CVSS score of 7.2 indicates a high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, so known exploitation activity is unknown. However, the attack requires only remote authenticated access with project privileges, a condition that is common inside many installations. An attacker can exploit the flaw by invoking removal of a device with a name containing directory traversal characters to delete any desired path. The elevated privileges resulting from the deletion grant the attacker destructive control over the host. The risk is therefore significant if patching is delayed.