CVE-2026-9640

published 26 Jun 2026 · updated 30 Jun 2026

LXD Snapshot Import Privilege Escalation Vulnerability

7.2HighCVSS 7.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.0.7, 5.21.5 and 6.9.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Canonical>=5.0.0 <5.0.7, >=5.21.0 <5.21.5, >=6.0 <6.95.0.7, 5.21.5, 6.9

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-9640 severity on Zeptric[![CVE-2026-9640](https://zeptric.io/badge/cve/CVE-2026-9640.svg)](https://zeptric.io/cve/CVE-2026-9640)