High severity · published Jun 26, 2026
CVE-2026-9640
LXD Snapshot Import Privilege Escalation Vulnerability
7.2
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LX
LXD · Canonical
5.21.0 before 5.21.5; 5.0.0 before 5.0.7; 6.0 before 6.9 · source: vendor, NVD
Affected product
LX
LXD
Canonical
More from LXD
9.9
CVE-2026-87799
Arbitrary file write on LXD host via symlink in migration stream
9.9
CVE-2026-85526
Path traversal via Btrfs optimized-backup subvolumes[].path enables root file/dir manipulation in LXD
9.9
CVE-2026-66897
Instance template path traversal allows arbitrary host file write as root
9.9
CVE-2026-66898
Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE
9.9
CVE-2026-63293
Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root