CVE-2026-9640LXD Snapshot Import Privilege Escalation Vulnerability
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 13 | lxd | Fixed | 5.0.2+git20231211.1364ae4-9+deb13u7 | DEBIAN-CVE-2026-9640 |
| Debian 12 | lxd | Fix pending | DEBIAN-CVE-2026-9640 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Canonical LXD: affected: 5.21.0 to before 5.21.5, 5.0.0 to before 5.0.7, 6.0 to before 6.9; fixed in
5.21.5,5.0.7,6.9
Solution: Upgrade to LXD version 6.9 or later, 5.21.5 or later, or 5.0.7 or later.
Vendor advisories:
- https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 (vendor-advisory)
- https://github.com/canonical/lxd/pull/18301 (patch)
- https://github.com/canonical/lxd/pull/18303 (patch)
- https://github.com/canonical/lxd/pull/18304 (patch)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.