CVE-2026-34177 in Canonical Lxd
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Lxd | ≥ 4.12.0, < 5.0.7 ≥ 5.1.0, < 5.21.5 ≥ 6.0.0, < 6.8.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-34177 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-151132-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| Published | 2026-04-09 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-184: CWE-184
Related attack patterns (CAPEC)
CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-184
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-184
CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-184
CAPEC-85 AJAX Footprinting via CWE-184
CAPEC-120 Double Encoding via CWE-184
Show all 9
CAPEC-6 Argument Injection via CWE-184
CAPEC-15 Command Delimiters via CWE-184
CAPEC-73 User-Controlled Filename via CWE-184
CAPEC-182 Flash Injection via CWE-184
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Canonical LXD versions 4.12 through 6.7 have an incomplete denylist in the isVMLowLevelOptionForbidden function, allowing remote attackers with can_edit permission to inject AppArmor rules and QEMU configurations in restricted projects.
The vulnerability stems from an incomplete denylist in the isVMLowLevelOptionForbidden function, which fails to block the raw.apparmor and raw.qemu.conf keys under the restricted.virtual-machines.lowlevel=block project restriction. This allows attackers to inject custom AppArmor rules and QEMU configurations, potentially leading to privilege escalation or unauthorized access.
Questions
What is CVE-2026-34177?
Canonical LXD versions 4.12 through 6.7 have an incomplete denylist in the isVMLowLevelOptionForbidden function, allowing remote attackers with can_edit permission to inject AppArmor rules and QEMU configurations in restricted projects.
What is the CVSS score for CVE-2026-34177?
CVE-2026-34177 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.6%.
Is CVE-2026-34177 actively exploited?
No confirmed active exploitation of CVE-2026-34177 as of 2026-11-03.
How do I remediate CVE-2026-34177?
Priority: IMMEDIATE.
What systems are affected by CVE-2026-34177?
CVE-2026-34177 affects Canonical Lxd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Lxd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.