CVE-2026-34177
CRITICAL 9.1CVSS 3.1LXD: VM 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.
- Published
- 9 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-184
- Also known as
- GHSA-fm2x-c5qw-4h6fGO-2026-5368
- Sources
- NVDJSONOSV GHSA-fm2x-c5qw-4h6fJSONOSV GO-2026-5368JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | lxdcpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* |
>= 4.12, <= 5.0.6 | |
| NVD | canonical | lxdcpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* |
>= 5.21.0, <= 5.21.4 | |
| NVD | canonical | lxdcpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* |
>= 6.0, <= 6.7 | |
| OSV | Go | github.com/canonical/lxd | >= 0.0.0-20210305023314-538ac3df036e, <= 0.0.0-20260226085519-736f34afb267 | |
| OSV | Go | github.com/canonical/lxd | >= 0.0.0-20210305023314-538ac3df036e |
References
- https://github.com/canonical/lxd/pull/17909 · Issue Tracking, WEB, FIX
- https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34177 · ADVISORY
- https://github.com/canonical/lxd · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Apr 2026)