CVE-2026-34177
published critical CVSS 3.1 · 9.1VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | lxd4.12.0 to < 5.0.7 · 5.1.0 to < 5.21.5 · 6.0.0 to < 6.8.0 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
| Debian | bookworm | lxd | Advisory build | 5.0.2-5+deb12u5 | DSA-6213-1 |
| Debian | trixie | lxd | Advisory build | 5.0.2+git20231211.1364ae4-9+deb13u5 | DSA-6213-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | lxd | 4.12.0 to < 5.0.7 (affected · semver)5.1.0 to < 5.21.5 (affected · semver)6.0.0 to < 6.8.0 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-184 CWE-184 Incomplete list of disallowed inputs
References
2- lxd: Prevent use of raw.apparmor and raw.qemu.conf when low level options are blocked https://github.com/canonical/lxd/pull/17909
- VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f
Provider assertions
2canonical · cna
VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 17a779d5a3e71cb85e7702350eb2d5bdff5d91f92e3659a9b0e74d9ef9aff371
- Ingested
- 23 Sep 2026, 09:10:54 UTC
- Source record
- Official CVE record