CVE-2026-9640

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductCanonical Lxd
PublishedJun 26, 2026
First seenJun 26, 2026

How to fix

Affected products

ProductAffected versionsFixed in
canonical lxd4.12 ≤ v < 5.0.7, 5.21.0 ≤ v < 5.21.5, 6.0 ≤ v < 6.95.0.7, 5.21.5, 6.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.