CVE-2026-136972: lxd: Exposure of resource to wrong sphere in image template device nodes
Exposure of resource to wrong sphere in image template handling in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with restricted project access to read and overwrite host block and character devices via importing device nodes in an image's templates directory and accessing them through instance template endpoints.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.0.16 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.0.12 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.21.10 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.10.2
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments running Canonical LXD before 4.0.16, 5.0.12, 5.21.10, or 6.10.2 are affected if an authenticated user has restricted project access.
What access does an attacker need?
An attacker must be authenticated and have restricted project access. Exploitation involves importing block or character device nodes into an image's templates directory and then using instance template endpoints.
What could an attacker access?
The attacker can read from and overwrite host block and character devices, crossing the intended isolation boundary between the restricted project and the host.
What is the immediate mitigation?
Update LXD to 4.0.16, 5.0.12, 5.21.10, 6.10.2, or a later release. Until updates can be applied, limit or remove restricted project access for untrusted authenticated users.