{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "4.12.0"
              },
              {
                "fixed": "5.0.7"
              },
              {
                "introduced": "5.1.0"
              },
              {
                "fixed": "5.21.5"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7b1f0b6acefa288398ead8dda48b046d7b2795a3"
            },
            {
              "fixed": "28f4061af24739ae06b678c53f155c6c02357c92"
            }
          ],
          "repo": "https://github.com/canonical/lxd",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fm2x-c5qw-4h6f"
  ],
  "database_specific": {
    "cna_assigner": "canonical",
    "cwe_ids": [
      "CWE-184"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34177.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "6.0.0"
          },
          {
            "fixed": "6.8.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-34177",
  "modified": "2026-07-15T01:49:15.073689834Z",
  "published": "2026-04-09T09:15:27.532Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/canonical"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34177.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34177"
    },
    {
      "type": "FIX",
      "url": "https://github.com/canonical/lxd/pull/17909"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/canonical/lxd"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf"
}