LXD Snapshot Import Privilege Escalation Vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-863.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | LXD | 5.21.0 to before 5.21.5; 5.0.0 to before 5.0.7; 6.0 to before 6.9 | 5.21.5, 5.0.7, 6.9 | Patch available | CNA |
- LXD VendorCanonical 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 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* | 4.12 to before 5.0.7; 5.21.0 to before 5.21.5; 6.0 to before 6.9 | Vulnerable | Canonical |
- cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* Versions 4.12 to before 5.0.7; 5.21.0 to before 5.21.5; 6.0 to before 6.9 Vulnerable ·Canonical
Remediation
- Fix · CNA LXD (Canonical) Fixed in 5.21.5, 5.0.7, 6.9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9640
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
More Canonical Lxd vulnerabilities
- TI-2026-22659 Authenticated RCE via unsanitized compression_algorithm CVSS 4.0CRITICAL 9.4
- TI-2026-47475 Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE CVSS 3.1CRITICAL 9.9
- TI-2026-45146 Cross-project instance move bypasses all project restrictions allowing host command execution CVSS 3.1CRITICAL 9.9
- TI-2026-45143 Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge CVSS 3.1CRITICAL 9.9
- TI-2026-45142 Project restriction bypass via instance migration config override CVSS 3.1CRITICAL 9.9
- TI-2026-45140 Root RCE via image backup.yaml symlink CVSS 3.1CRITICAL 9.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences