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.
Affected products
canonical: lxd
References5
- github.com/canonical/lxd/pull/18301 Issue TrackingPatch
- github.com/canonical/lxd/pull/18303 Issue TrackingPatch
- github.com/canonical/lxd/pull/18304 Issue TrackingPatch
- github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 Exploit
- github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552 Exploit
Metrics
- CVSS 3.1
-
7.2
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 51 · as of 16 November 2026
- CWE
- CWE-863
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.