Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/canonical/lxd
  4. ›
  5. CVE-2026-34177

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

April 10, 2026

The isVMLowLevelOptionForbidden function in lxd/project/limits/permissions.go is missing raw.apparmor and raw.qemu.conf from its hardcoded forbidden list. A user with can_edit permission on a VM instance in a restricted project can combine these two omissions to bridge the LXD unix socket into the guest VM and gain full cluster administrator access. This bypasses the restricted.virtual-machines.lowlevel=block project restriction, which is the security control specifically designed to prevent raw config injection.

References

  • github.com/advisories/GHSA-fm2x-c5qw-4h6f
  • github.com/canonical/lxd
  • github.com/canonical/lxd/pull/17909
  • github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f
  • nvd.nist.gov/vuln/detail/CVE-2026-34177

Code Behaviors & Features

Detect and mitigate CVE-2026-34177 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.0.0-20210305023314-538ac3df036e up to 0.0.0-20260226085519-736f34afb267

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs

Source file

go/github.com/canonical/lxd/CVE-2026-34177.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:05 +0000.