{"id":"CVE-2026-34177","published":"2026-04-09T09:15:27Z","modified":"2026-04-09T12:12:48Z","title":"VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf","vendor":"Canonical","product":"lxd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00635,"percentile":0.44938,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f","tags":["vdb-entry","vendor-advisory"]},{"url":"https://github.com/canonical/lxd/pull/17909","tags":["patch","issue-tracking"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":8.99},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical","product":"lxd","versions":[">= 4.12.0, < 5.0.7",">= 5.1.0, < 5.21.5",">= 6.0.0, < 6.8.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-09T12:12:43.482752Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/canonical/lxd","vulnerableRanges":[">=0.0.0-20210305023314-538ac3df036e, <=0.0.0-20260226085519-736f34afb267",">=0.0.0-20210305023314-538ac3df036e"],"patched":[],"from":["GHSA-fm2x-c5qw-4h6f","GO-2026-5368"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-20872","exploited":false,"provenance":"source"}}