Vulnerability · Published Apr 9, 2026 · Assigned by canonical

CVE-2026-34177VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf

Critical 9.1

In plain English

A critical-severity security flaw in lxd from Canonical. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.4%top 69.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13incus6.0.2-1DEBIAN-CVE-2026-34177
Debian:14incus6.0.2-1DEBIAN-CVE-2026-34177
Debian:12lxdno fix listedDEBIAN-CVE-2026-34177
Debian:13lxd5.0.2+git20231211.1364ae4-9+deb13u5DEBIAN-CVE-2026-34177
Gogithub.com/canonical/lxdno fix listedGHSA-fm2x-c5qw-4h6f
Gogithub.com/canonical/lxdno fix listedGO-2026-5368

Affected products (as reported)

VendorProductVersions
Canonical lxd 4.12.0 – before 5.0.75.1.0 – before 5.21.56.0.0 – before 6.8.0

Weakness: CWE-184 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

References