{"id":"CVE-2026-66898","title":"A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations","summary":"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 c…","severity":"critical","cvss":9.9,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","cwe":["CWE-22"],"vendor":"canonical","product":"lxd","affected":["lxd >= 4.0.0, < 4.0.12","lxd >= 5.0.0, < 5.0.4","lxd >= 5.1, < 5.21.2","lxd = 6.0"],"patched":["lxd 5.21.2"],"published":"2026-08-12","updated":"2026-09-11","sourceUpdated":"2026-09-11T15:30:05.387","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-66898","references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984","label":"security@ubuntu.com"},{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd"],"epss":0.0043,"epssPercentile":0.36732,"ingestedAt":"2026-09-11T17:50:33.511Z","slug":"CVE-2026-66898","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `lxd >= 4.0.0, < 4.0.12`\n- `lxd >= 5.0.0, < 5.0.4`\n- `lxd >= 5.1, < 5.21.2`\n- `lxd = 6.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `lxd 5.21.2`","depth":"midnight","depthScore":55,"depthScoreParts":{"impact":54.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}