VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf

Summary

CVECVE-2026-34177
StatePUBLISHED
Assignercanonical
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-09 10:16:21 UTC
Updated2026-04-22 20:57:22 UTC
DescriptionCanonical 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.

Risk And Classification

Primary CVSS: v3.1 9.1 CRITICAL from [email protected]

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

EPSS: 0.001360000 probability, percentile 0.333700000 (date 2026-04-15)

Problem Types: CWE-184 | CWE-184 CWE-184 Incomplete list of disallowed inputs


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
3.1CNACVSS9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Canonical Lxd All All All All
Application Canonical Lxd All All All All
Application Canonical Lxd All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Canonical Lxd affected 4.12.0 5.0.7 semver Linux
CNA Canonical Lxd affected 5.1.0 5.21.5 semver Linux
CNA Canonical Lxd affected 6.0.0 6.8.0 semver Linux

References

ReferenceSourceLinkTags
github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com Third Party Advisory
github.com/canonical/lxd/pull/17909 [email protected] github.com Issue Tracking
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Miha Purg (en)

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report