Vulnerability in Canonical Lxd
CVE-2026-34177
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 31.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Canonical Lxd — versions 4.12.0, 5.1.0, 6.0.0
Weakness classification (CWE)
References
- VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf (vendor-advisory, Third Party Advisory, vdb-entry)
- lxd: Prevent use of raw.apparmor and raw.qemu.conf when low level options are blocked (issue-tracking, patch, Issue Tracking)