p PatchFirst

CVE-2026-34177

CVE-2026-34177 · VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.1 · Critical · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • lxd

    Versions
    • ≥ 4.12.0, < 5.0.7: Affected (semver)
    • ≥ 5.1.0, < 5.21.5: Affected (semver)
    • ≥ 6.0.0, < 6.8.0: Affected (semver)

    Update to 5.0.7; Update to 5.21.5; Update to 6.8.0

  • incus Debian:13

    Affected ranges
    • ECOSYSTEM: < 6.0.2-1

    Update to 6.0.2-1

  • incus Debian:14

    Affected ranges
    • ECOSYSTEM: < 6.0.2-1

    Update to 6.0.2-1

  • lxd Debian:12

    Versions
    • 5.0.2+git20231211.1364ae4-1
    • 5.0.2+git20231211.1364ae4-2
    • 5.0.2+git20231211.1364ae4-3
    • 5.0.2+git20231211.1364ae4-4
    • 5.0.2+git20231211.1364ae4-5
    • 5.0.2+git20231211.1364ae4-6
    • 5.0.2+git20231211.1364ae4-7
    • 5.0.2+git20231211.1364ae4-8
    • 5.0.2+git20231211.1364ae4-9
    • 5.0.2-5
    • 5.0.2-5+deb12u1
    • 5.0.2-5+deb12u2
    • 5.0.2-5+deb12u3
    • 5.0.2-5+deb12u4
    • 5.0.2-5+deb12u5
    • 5.0.2-5+deb12u6
    • 5.0.2-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lxd Debian:13

    Versions
    • 5.0.2+git20231211.1364ae4-9
    • 5.0.2+git20231211.1364ae4-9+deb13u1
    • 5.0.2+git20231211.1364ae4-9+deb13u2
    • 5.0.2+git20231211.1364ae4-9+deb13u3
    • 5.0.2+git20231211.1364ae4-9+deb13u4
    Affected ranges
    • ECOSYSTEM: < 5.0.2+git20231211.1364ae4-9+deb13u5

    Update to 5.0.2+git20231211.1364ae4-9+deb13u5

  • incus Ubuntu:Pro:24.04:LTS

    Versions
    • 0.4-1ubuntu1
    • 0.5.1-1
    • 0.5.1-3
    • 0.6-1
    • 6.0.0-1
    • 6.0.0-1ubuntu0.1
    • 6.0.0-1ubuntu0.2
    • 6.0.0-1ubuntu0.2+esm1
    • 6.0.0-1ubuntu0.3
    • 6.0.0-1ubuntu0.3+esm1
    • 6.0.0-1ubuntu0.3+esm2
    • 6.0.0-1ubuntu0.3+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →