CVE-2026-34177
Published:April 09, 2026
Updated:April 20, 2026
Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidden (lxd/project/limits/permissions.go), which omits raw.apparmor and raw.qemu.conf from the set of keys blocked under the restricted.virtual-machines.lowlevel=block project restriction. A remote attacker with can_edit permission on a VM instance in a restricted project can inject an AppArmor rule and a QEMU chardev configuration that bridges the LXD Unix socket into the guest VM, enabling privilege escalation to LXD cluster administrator and subsequently to host root.
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)
Incomplete List of Disallowed Inputs
EPSS
Base Score:
0.14