CVE-2026-34177Canonical Lxd
Critical 9.1
Follow: this CVE · Canonical · Canonical Lxd We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 9, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-184
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Lxd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/canonical/lxd |
≥ 0.0.0-20210305023314-538ac3df036e ≤ 0.0.0-20260226085519-736f34afb267 |
no fixed version | — |
| Go | github.com/canonical/lxd |
≥ 0.0.0-20210305023314-538ac3df036e |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-fm2x-c5qw-4h6f, GO-2026-5368). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | lxd | ≥ 4.12 ≤ 5.0.6 |
| canonical | lxd | ≥ 5.21.0 ≤ 5.21.4 |
| canonical | lxd | ≥ 6.0 ≤ 6.7 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23625-1 · Sep 4, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21761-1 · Sep 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking
- github.com Third Party Advisory