{"id":"CVE-2026-34177","revision":"4fc276f7fdb24a4fbef18eb24d84d3c4","records":[{"revision":"4fc276f7fdb24a4fbef18eb24d84d3c4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-34177","aliases":[],"title":"VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf","description":"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.","state":0,"publishedAt":"2026-04-09T09:15:27.532+00:00","modifiedAt":"2026-04-09T12:12:48.251+00:00","affected":[{"ecosystem":"https://github.com/canonical","name":"lxd","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Canonical\",\n                    \"product\": \"lxd\",\n                    \"platforms\": [\n                        \"Linux\"\n                    ],\n                    \"collectionURL\": \"https://github.com/canonical\",\n                    \"packageName\": \"lxd\",\n                    \"repo\": \"https://github.com/canonical/lxd\",\n                    \"programFiles\": [\n                        \"permissions.go\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"4.12.0\",\n                            \"lessThan\": \"5.0.7\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"5.1.0\",\n                            \"lessThan\": \"5.21.5\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"6.0.0\",\n                            \"lessThan\": \"6.8.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"severity":"CRITICAL"}],"references":["https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f","https://github.com/canonical/lxd/pull/17909"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-34177","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-34177","identifiers":["CVE-2026-34177"]},"retained":false,"historicalAffected":[]}],"coverage":[]}