CVE-2026-9640
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.
INFO
Published Date :
June 26, 2026, 4:16 p.m.
Last Modified :
Oct. 25, 2026, 5:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | cc1ad9ee-3454-478d-9317-d3e869d708bc | ||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update LXD to version 6.9 or later.
- Update LXD to version 5.21.5 or later.
- Update LXD to version 5.0.7 or later.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-9640.
| URL | Resource |
|---|---|
| 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 |
| https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 | Exploit |
| https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 | Exploit |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-9640 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-9640
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-9640 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-9640 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 25, 2026
Action Type Old Value New Value Added Translation Title: LXD de Canonical, Description: Una vulnerabilidad de escalada de privilegios existe en LXD desde 6.0 antes de 6.9, 5.21.0 antes de 5.21.5 y 5.0.0 antes de 5.0.7 con respecto al manejo de las políticas de restricción de proyectos durante la restauración de instantáneas. Un operador de proyecto autenticado en un entorno multiinquilino restringido puede eludir las restricciones de la política importando una copia de seguridad de instancia creada maliciosamente que contiene claves de configuración restringidas dentro de una instantánea. Cuando se restaura la instantánea, estas claves restringidas se aplican a la instancia en vivo sin validación de política. Iniciar la instancia modificada otorga al operador acceso root de host no autorizado. -
Initial Analysis by [email protected]
Jul. 02, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* versions from (including) 5.21.0 up to (excluding) 5.21.5 *cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* versions from (including) 6.0 up to (excluding) 6.9 *cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* versions from (including) 4.12 up to (excluding) 5.0.7 Added Reference Type Canonical Ltd.: https://github.com/canonical/lxd/pull/18301 Types: Issue Tracking, Patch Added Reference Type Canonical Ltd.: https://github.com/canonical/lxd/pull/18303 Types: Issue Tracking, Patch Added Reference Type Canonical Ltd.: https://github.com/canonical/lxd/pull/18304 Types: Issue Tracking, Patch Added Reference Type Canonical Ltd.: https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 Types: Exploit Added Reference Type CISA-ADP: https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 Types: Exploit -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 30, 2026
Action Type Old Value New Value Changed SSVC {'id': 'CVE-2026-9640', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-26T00:00:00+00:00'} {'id': 'CVE-2026-9640', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-26T00:00:00+00:00'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 27, 2026
Action Type Old Value New Value Changed SSVC {'id': 'CVE-2026-9640', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-26T15:59:50.952818Z'} {'id': 'CVE-2026-9640', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-26T00:00:00+00:00'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 26, 2026
Action Type Old Value New Value Added Reference https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 Added SSVC {'id': 'CVE-2026-9640', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-26T15:59:50.952818Z'} -
New CVE Received by [email protected]
Jun. 26, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://github.com/canonical/lxd', 'vendor': 'Canonical', 'product': 'LXD', 'versions': [{'status': 'affected', 'version': '5.21.0', 'lessThan': '5.21.5', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.0.0', 'lessThan': '5.0.7', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.0', 'lessThan': '6.9', 'versionType': 'semver'}], 'platforms': ['Linux'], 'packageName': 'LXD', 'defaultStatus': 'unaffected'}] Added 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. Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-863 Added Reference https://github.com/canonical/lxd/pull/18301 Added Reference https://github.com/canonical/lxd/pull/18303 Added Reference https://github.com/canonical/lxd/pull/18304 Added Reference https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552