# CVE-2026-9640: LXD Snapshot Import Privilege Escalation Vulnerability

- Severity: High 7.2 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-26T15:50:38.453Z
- Modified: 2026-10-25T17:10:00.197Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- LXD: from 5.21.0 before 5.21.5; from 5.0.0 before 5.0.7; from 6.0 before 6.9
- canonical lxd: from 4.12 before 5.0.7; from 5.21.0 before 5.21.5; from 6.0 before 6.9

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552> (exploit, vdb-entry, vendor-advisory)
- <https://github.com/canonical/lxd/pull/18301> (issue-tracking, patch)
- <https://github.com/canonical/lxd/pull/18303> (issue-tracking, patch)
- <https://github.com/canonical/lxd/pull/18304> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2026-9640](https://www.cve.org/CVERecord?id=CVE-2026-9640), CVE Terms of Use, modified 2026-06-30
- NVD: [CVE-2026-9640](https://nvd.nist.gov/vuln/detail/CVE-2026-9640), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-9640 · Whole record: https://cve.day/CVE-2026-9640.json · Rebuilt by cve.day 2026-11-25T22:59:26.498Z
