CVE-2026-34178
Received
Received - Intake
Project Restriction Bypass in Canonical LXD Enables Host Compromise
Publication date: 2026-04-09
Last updated on: 2026-04-22
Assigner: Canonical Ltd.
Description
Description
In Canonical LXD before 6.8, the backup import path validates project restrictions against backup/index.yaml in the supplied tar archive but creates the instance from backup/container/backup.yaml, a separate file in the same archive that is never checked against project restrictions. An authenticated remote attacker with instance-creation permission in a restricted project can craft a backup archive where backup.yaml carries restricted settings such as security.privileged=true or raw.lxc directives, bypassing all project restriction enforcement and allowing full host compromise.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| canonical | lxd | From 4.12 (inc) to 5.0.6 (inc) |
| canonical | lxd | From 5.21.0 (inc) to 5.21.4 (inc) |
| canonical | lxd | From 6.0 (inc) to 6.7 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-20 | The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. |