Skip to content
OpenAdvisories
High · 7.2 CVE-2026-9640 EUVD-2026-39794

LXD Snapshot Import Privilege Escalation Vulnerability

Published Jun 26, 2026 · Updated Jun 30, 2026 · Assigned by canonical

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

VendorProductAffectedFixed
Canonical LXD 5.21.0 – < 5.21.5, 5.0.0 – < 5.0.7, 6.0 – < 6.9 5.21.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 lxd 5.0.2+git20231211.1364ae4-9+deb13u7 —
Debian 12 lxd No fix yet —

References