{"id":"CVE-2026-66898","published":"2026-08-12T20:07:32Z","modified":"2026-08-13T13:40:18Z","title":"Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE","vendor":"Canonical","product":"LXD","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00592,"percentile":0.49195,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984","tags":["vdb-entry","vendor-advisory"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":9.84},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical","product":"LXD","versions":[">= 4.0.0, < 4.0.12",">= 5.0.0, < 5.0.4",">= 5.21.0, < 5.21.2",">= 6.0, < 6.1"]}],"solutions":{"items":["Upgrade to LXD version 4.0.12 or later, 5.0.4 or later, or 5.12.2 or later, or 6.0 or later."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-126","name":"Path Traversal"},{"id":"CAPEC-153","name":"Input Data Manipulation"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-13T13:40:15.405663Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-57545","exploited":false,"provenance":"source"}}