{"id":"CVE-2026-9640","state":"PUBLISHED","title":"LXD Snapshot Import Privilege Escalation Vulnerability","description":"A privilege escalation vulnerability exists in LXD from 6.0 before 6.9, 5.21.0 before 5.21.5, and 5.0.0 before 5.0.7 regarding the handling of project-restriction policies during snapshot restoration.. An authenticated project operator in a restricted multi-tenant environment can bypass policy restrictions by importing a maliciously crafted instance backup containing restricted configuration keys within a snapshot. When the snapshot is restored, these restricted keys are applied to the live instance without policy validation. Starting the modified instance grants the operator unauthorized host root access.","publishedAt":"2026-06-26T15:50:38.453Z","updatedAt":"2026-06-30T03:55:24.628Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["Canonical LXD"],"affected":[{"vendor":"Canonical","product":"LXD","packageName":"LXD","defaultStatus":"unaffected","versions":[{"version":"5.21.0","status":"affected","lessThan":"5.21.5","versionType":"semver"},{"version":"5.0.0","status":"affected","lessThan":"5.0.7","versionType":"semver"},{"version":"6.0","status":"affected","lessThan":"6.9","versionType":"semver"}],"platforms":["Linux"],"repo":"https://github.com/canonical/lxd"}],"references":["https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552","https://github.com/canonical/lxd/pull/18301","https://github.com/canonical/lxd/pull/18303","https://github.com/canonical/lxd/pull/18304"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:13:52.441Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/9xxx/CVE-2026-9640.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-9640","state":"PUBLISHED","datePublished":"2026-06-26T15:50:38.453Z","dateUpdated":"2026-06-30T03:55:24.628Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2026-05-26T18:31:24.593Z"},"containers":{"cna":{"title":"LXD Snapshot Import Privilege Escalation Vulnerability","descriptions":[{"lang":"en","value":"A privilege escalation vulnerability exists in LXD from 6.0 before 6.9, 5.21.0 before 5.21.5, and 5.0.0 before 5.0.7 regarding the handling of project-restriction policies during snapshot restoration.. An authenticated project operator in a restricted multi-tenant environment can bypass policy restrictions by importing a maliciously crafted instance backup containing restricted configuration keys within a snapshot. When the snapshot is restored, these restricted keys are applied to the live instance without policy validation. Starting the modified instance grants the operator unauthorized host root access."}],"affected":[{"vendor":"Canonical","product":"LXD","packageName":"LXD","defaultStatus":"unaffected","versions":[{"version":"5.21.0","status":"affected","lessThan":"5.21.5","versionType":"semver"},{"version":"5.0.0","status":"affected","lessThan":"5.0.7","versionType":"semver"},{"version":"6.0","status":"affected","lessThan":"6.9","versionType":"semver"}],"platforms":["Linux"],"repo":"https://github.com/canonical/lxd"}],"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552","tags":["vdb-entry","vendor-advisory"]},{"url":"https://github.com/canonical/lxd/pull/18301","tags":["patch"]},{"url":"https://github.com/canonical/lxd/pull/18303","tags":["patch"]},{"url":"https://github.com/canonical/lxd/pull/18304","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2026-06-26T15:50:38.453Z"},"impacts":[{"capecId":"CAPEC-153","descriptions":[{"lang":"en","value":"CAPEC-153: Input Data Manipulation"}]}],"source":{"discovery":"EXTERNAL"},"solutions":[{"lang":"en","value":"Upgrade to LXD version 6.9 or later, 5.21.5 or later, or 5.0.7 or later."}],"credits":[{"lang":"en","type":"finder","value":"Miha Purg"}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-26T00:00:00+00:00","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-9640"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-30T03:55:24.628Z"}}]}}}