Path Traversal in Canonical Lxd
CVE-2026-66898
A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations. When importing or restoring a backup archive, LXD fails to validate instance and storage volume names contained within the archive metadata. An attacker can exploit this flaw by supplying a crafted backup archive with malicious instance or volume names containing path traversal sequences, potentially allowing file access or overwriting outside the designated restore directory.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 48.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Canonical Lxd — versions 4.0.0, 5.0.0, 5.21.0
Weakness classification (CWE)
References
- github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984 (Exploit, vendor-advisory, Mitigation, vdb-entry, Vendor Advisory)