{"api_version":"1","generated_at":"2026-06-26T18:55:34+00:00","cve":"CVE-2026-9640","urls":{"html":"https://cve.report/CVE-2026-9640","api":"https://cve.report/api/cve/CVE-2026-9640.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-9640","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-9640"},"summary":{"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.","state":"PUBLISHED","assigner":"canonical","published_at":"2026-06-26 16:16:37","updated_at":"2026-06-26 17:16:35"},"problem_types":["CWE-863","CWE-863 CWE-863: Incorrect Authorization"],"metrics":[{"version":"3.1","source":"security@ubuntu.com","type":"Secondary","score":"7.2","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":7.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"7.2","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/canonical/lxd/pull/18303","name":"https://github.com/canonical/lxd/pull/18303","refsource":"security@ubuntu.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/canonical/lxd/pull/18301","name":"https://github.com/canonical/lxd/pull/18301","refsource":"security@ubuntu.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/canonical/lxd/pull/18304","name":"https://github.com/canonical/lxd/pull/18304","refsource":"security@ubuntu.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552","name":"https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-9640","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9640","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Canonical","product":"LXD","version":"affected 5.21.0 5.21.5 semver","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"LXD","version":"affected 5.0.0 5.0.7 semver","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"LXD","version":"affected 6.0 6.9 semver","platforms":["Linux"]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to LXD version 6.9 or later, 5.21.5 or later, or 5.0.7 or later.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Miha Purg","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-9640","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-06-26T15:59:50.952818Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-06-26T16:00:24.172Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","packageName":"LXD","platforms":["Linux"],"product":"LXD","repo":"https://github.com/canonical/lxd","vendor":"Canonical","versions":[{"lessThan":"5.21.5","status":"affected","version":"5.21.0","versionType":"semver"},{"lessThan":"5.0.7","status":"affected","version":"5.0.0","versionType":"semver"},{"lessThan":"6.9","status":"affected","version":"6.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Miha Purg"}],"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."}],"impacts":[{"capecId":"CAPEC-153","descriptions":[{"lang":"en","value":"CAPEC-153: Input Data Manipulation"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-26T15:50:38.453Z","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","shortName":"canonical"},"references":[{"tags":["vdb-entry","vendor-advisory"],"url":"https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552"},{"tags":["patch"],"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"}],"solutions":[{"lang":"en","value":"Upgrade to LXD version 6.9 or later, 5.21.5 or later, or 5.0.7 or later."}],"source":{"discovery":"EXTERNAL"},"title":"LXD Snapshot Import Privilege Escalation Vulnerability"}},"cveMetadata":{"assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","assignerShortName":"canonical","cveId":"CVE-2026-9640","datePublished":"2026-06-26T15:50:38.453Z","dateReserved":"2026-05-26T18:31:24.593Z","dateUpdated":"2026-06-26T16:00:24.172Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-26 16:16:37","lastModifiedDate":"2026-06-26 17:16:35","problem_types":["CWE-863","CWE-863 CWE-863: Incorrect Authorization"],"metrics":{"cvssMetricV31":[{"source":"security@ubuntu.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":7.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-26T15:59:50.952818Z","id":"CVE-2026-9640","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"9640","Ordinal":"1","Title":"LXD Snapshot Import Privilege Escalation Vulnerability","CVE":"CVE-2026-9640","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"9640","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"LXD Snapshot Import Privilege Escalation Vulnerability"}]}}}