Live threats

All CVEs / Canonical

CVE-2026-34177Canonical Lxd

Critical 9.1

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lxd.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
canonicallxd≥ 4.12 ≤ 5.0.6
canonicallxd≥ 5.21.0 ≤ 5.21.4
canonicallxd≥ 6.0 ≤ 6.7

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.