Technical impact
The flaw allows an authenticated LXD client using a restricted client certificate to write any file on the host as root and execute code during the extraction of an image metadata tarball. The problem stems from improper link resolution when unpacking the tarball, enabling path traversal (CWE‑59) and invalid file path validation (CWE‑73). Once triggered, the attacker can overwrite critical system resources or introduce malicious binaries, leading to full control of the host machine.
Affected Systems
Canonical LXD versions earlier than 5.0.12, 5.21.10, and 6.10.2 are affected. Any deployment that accepts image uploads from a client with a restricted certificate while running one of these releases can be compromised.
Risk and Exploitability
The CVSS score of 6.4 classifies the vulnerability as moderate severity. EPSS information is unavailable and the vulnerability is not listed in CISA's KEV catalog, so the probability of widespread exploitation is unknown. However, the attack route requires the attacker to have legitimate API access with a restricted client certificate and to supply a crafted image tarball containing a rootfs symlink that points to arbitrary host paths. Successful exploitation would give the attacker root privileges on the host with the ability to modify files and execute code.