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.
{
"cna_assigner": "canonical",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66898.json"
}{
"cpe": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.12"
},
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.4"
},
{
"introduced": "5.1"
},
{
"fixed": "5.21.2"
}
],
"source": "CPE_RANGE"
}