Home / Canonical / LXD / CVE-2026-9640
CVE-2026-9640: is it exploited, and which versions of Canonical LXD are affected and fixed?
CVE-2026-9640 is an incorrect authorization vulnerability in Canonical LXD. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: LXD from 5.21.0 before 5.21.5, LXD from 5.0.0 before 5.0.7 and LXD from 6.0 before 6.9 (CVE record by canonical). Fixed in 5.21.5, 5.0.7 and 6.9 (CVE record by canonical). Severity: High (7.2, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-9640?
LXD 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.
From the CVE record by canonical, last updated June 30, 2026, 03:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Canonical | LXD Linux | from 5.21.0 before 5.21.5 from 5.0.0 before 5.0.7 from 6.0 before 6.9 | 5.21.5, 5.0.7, 6.9 |
As the CVE record by canonical states it, last updated June 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | lxd | from 4.12 before 5.0.7 | application |
| canonical | lxd | from 5.21.0 before 5.21.5 | application |
| canonical | lxd | from 6.0 before 6.9 | application |
NVD analysis (status Analyzed), last modified October 25, 2026, 17:10 UTC.
How severe is CVE-2026-9640?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | canonical |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-9640 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, June 26, 2026)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 32.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-863 Incorrect Authorization
How do I fix it? (from the CVE record)
Upgrade to LXD version 6.9 or later, 5.21.5 or later, or 5.0.7 or later.
Where are the vendor advisories and references?
- https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 vdb-entry, 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
Who found and reported it?
- Miha Purg (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 26, 2026
- Published
- June 26, 2026, 15:50 UTC
- CVE record updated
- June 30, 2026, 03:55 UTC by canonical
- NVD
- Analyzed, last modified October 25, 2026, 17:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect LXD?
- Dec 1, 2026CVE-2026-127156 Canonical LXD: improper access control
- Dec 1, 2026CVE-2026-127155 Canonical LXD: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-127159 Canonical LXD: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-140086 Canonical LXD: link following (a symlink lets an attacker reach other files)
- Dec 1, 2026CVE-2026-140085 Canonical LXD: uncontrolled search path (DLL or library hijacking)
- Dec 1, 2026CVE-2026-140084 Canonical LXD: incorrect authorization
- Nov 26, 2026CVE-2026-122225 Canonical LXD: UNIX Symbolic Link (Symlink) Following
- Nov 26, 2026CVE-2026-136976 Canonical LXD: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2026-9640
Is CVE-2026-9640 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical LXD are affected by CVE-2026-9640?
LXD from 5.21.0 before 5.21.5, LXD from 5.0.0 before 5.0.7 and LXD from 6.0 before 6.9, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2026-9640?
5.21.5, 5.0.7 and 6.9, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-9640?
High (7.2, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2026-9640?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.