Skip to main content
← All vulnerabilities
CVE-2026-34177GHSA-FM2X-C5QW-4H6FGO-2026-5368

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.7, 5.21.5, 6.8.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • lxd

    From 4.12.0 · fixed in 5.0.7; From 5.1.0 · fixed in 5.21.5; From 6.0.0 · fixed in 6.8.0

  • github.com/canonical/lxdGo

    From 0.0.0-20210305023314-538ac3df036e · through 0.0.0-20260226085519-736f34afb267

  • github.com/canonical/lxdGo

    From 0.0.0-20210305023314-538ac3df036e

References 2

GitHub · canonical/lxd