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

- Severity: Critical 9.1 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-09T09:15:27.532Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-fm2x-c5qw-4h6f, GO-2026-5368
- Weaknesses: CWE-184
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- lxd: from 4.12.0 before 5.0.7; from 5.1.0 before 5.21.5; from 6.0.0 before 6.8.0
- github.com/canonical/lxd (Go): from 0.0.0-20210305023314-538ac3df036e up to 0.0.0-20260226085519-736f34afb267; from 0.0.0-20210305023314-538ac3df036e
- canonical lxd: from 4.12 up to 5.0.6; from 5.21.0 up to 5.21.4; from 6.0 up to 6.7

## Every score

- canonical: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f> (exploit, advisory, third-party-advisory, vdb-entry, vendor-advisory, web)
- <https://github.com/canonical/lxd/pull/17909> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34177> (advisory)
- <https://github.com/canonical/lxd> (package)

## Sources

- CVE List: [CVE-2026-34177](https://www.cve.org/CVERecord?id=CVE-2026-34177), CVE Terms of Use, modified 2026-04-09
- GitHub Advisory Database: [GHSA-fm2x-c5qw-4h6f](https://github.com/advisories/GHSA-fm2x-c5qw-4h6f), CC-BY-4.0, modified 2026-08-11
- Go Vulnerability Database: [GO-2026-5368](https://pkg.go.dev/vuln/GO-2026-5368), CC-BY-4.0, modified 2026-08-11
- NVD: [CVE-2026-34177](https://nvd.nist.gov/vuln/detail/CVE-2026-34177), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-34177 · Whole record: https://cve.day/CVE-2026-34177.json · Rebuilt by cve.day 2026-11-25T22:59:18.364Z
