CVE-2026-34177
Last modified
CVE-2026-34177 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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.. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Lxd | >= 4.12, <= 5.0.6 |
| Canonical | Lxd | >= 5.21.0, <= 5.21.4 |
| Canonical | Lxd | >= 6.0, <= 6.7 |
References
- https://github.com/canonical/lxd/pull/17909Issue Tracking
- https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6fThird Party Advisory
- https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6fThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-34177?
How severe is CVE-2026-34177?
How do I fix CVE-2026-34177?
Are you affected by CVE-2026-34177?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
