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.
References
| Link | 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 |
Configurations
Configuration 1 (hide)
|
History
02 Jul 2026, 13:29
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Canonical
Canonical lxd |
|
| CPE | cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* | |
| References | () https://github.com/canonical/lxd/pull/18301 - Issue Tracking, Patch | |
| References | () https://github.com/canonical/lxd/pull/18303 - Issue Tracking, Patch | |
| References | () https://github.com/canonical/lxd/pull/18304 - Issue Tracking, Patch | |
| References | () https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 - Exploit |
26 Jun 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 - |
26 Jun 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-26 16:16
Updated : 2026-07-02 13:29
NVD link : CVE-2026-9640
Mitre link : CVE-2026-9640
CVE.ORG link : CVE-2026-9640
JSON object : View
Products Affected
canonical
- lxd
CWE
CWE-863
Incorrect Authorization
