CVE-2026-34177VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Go, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | incus | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | incus | Fix pending | UBUNTU-CVE-2026-34177 | |
| Debian 14 | incus | Fixed | 6.0.2-1 | DEBIAN-CVE-2026-34177 |
| Debian 13 | incus | Fixed | 6.0.2-1 | DEBIAN-CVE-2026-34177 |
| Debian 13 | lxd | Fixed | 5.0.2+git20231211.1364ae4-9+deb13u5 | DEBIAN-CVE-2026-34177 |
| Debian 12 | lxd | Fix pending | DEBIAN-CVE-2026-34177 | |
| Go library | github.com/canonical/lxd | Fix pending | GO-2026-5368 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Canonical lxd: affected: 4.12.0 to before 5.0.7, 5.1.0 to before 5.21.5, 6.0.0 to before 6.8.0; fixed in
5.0.7,5.21.5,6.8.0
Vendor advisories:
- https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f (vendor-advisory)
- https://github.com/canonical/lxd/pull/17909 (patch)
References
- https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f
- https://github.com/canonical/lxd/pull/17909
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.