{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-66898","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","state":"PUBLISHED","assignerShortName":"canonical","dateReserved":"2026-07-28T07:41:26.311Z","datePublished":"2026-08-12T20:07:32.889Z","dateUpdated":"2026-08-13T13:40:18.070Z"},"containers":{"cna":{"title":"Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Canonical","product":"LXD","packageName":"LXD","platforms":["Linux"],"repo":"https://github.com/canonical/lxd","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","versionType":"semver","lessThan":"4.0.12"},{"version":"5.0.0","status":"affected","versionType":"semver","lessThan":"5.0.4"},{"version":"5.21.0","status":"affected","versionType":"semver","lessThan":"5.21.2"},{"version":"6.0","status":"affected","versionType":"semver","lessThan":"6.1"}]}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22"}]}],"impacts":[{"capecId":"CAPEC-126","descriptions":[{"lang":"en","value":"Path Traversal"}]},{"capecId":"CAPEC-153","descriptions":[{"lang":"en","value":"Input Data Manipulation"}]}],"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984","tags":["vdb-entry","vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL"}}],"source":{"discovery":"EXTERNAL"},"solutions":[{"lang":"en","value":"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."}],"providerMetadata":{"orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","shortName":"canonical","dateUpdated":"2026-08-12T20:07:32.889Z"}},"adp":[{"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-13T13:40:15.405663Z","id":"CVE-2026-66898","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-13T13:40:18.070Z"}}]}}