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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 5.0.7, 5.21.5, 6.9 (CNA); fix release not confirmed
- Status: published
- Published: 2026-06-26 · Modified: 2026-06-30
- Aliases: DEBIAN-CVE-2026-9640
- Record: https://cvemate.com/vulnerability/CVE-2026-9640 · JSON: https://cvemate.com/vulnerability/CVE-2026-9640/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.366%, percentile 32.456%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- canonical lxd: ≥ 5.0.0, \< 5.0.7 \| ≥ 4.12, \< 5.0.7 \| ≥ 5.21.0, \< 5.21.5 \| ≥ 6.0, \< 6.9
- debian lxd (Debian): All versions (No fix recorded) \| \< 5.0.2+git20231211.1364ae4-9+deb13u7

## 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>
- <https://security-tracker.debian.org/tracker/CVE-2026-9640>

---

Data as of 2026-12-05T11:47:53.540Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
