CVE-2026-34178
Published:April 09, 2026
Updated:April 20, 2026
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.
Affected Packages
https://github.com/canonical/lxd.git (GITHUB):
Affected version(s) >=lxd-5.1 <lxd-5.21.5Fix Suggestion:
Update to version lxd-5.21.5https://github.com/canonical/lxd.git (GITHUB):
Affected version(s) >=lxd-4.12 <lxd-5.0.7Fix Suggestion:
Update to version lxd-5.0.7https://github.com/canonical/lxd.git (GITHUB):
Affected version(s) >=lxd-6.1 <lxd-6.8Fix Suggestion:
Update to version lxd-6.8Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.05