An improper validation vulnerability in the instancePostMigration function in lxd/instance_post.go of LXD allows an authenticated attacker with can_create_instances permissions on a restricted project to bypass project-level security restrictions. When migrating an instance between projects, LXD fails to validate the instance's configuration against the target project's enforced restrictions (such as restricted.containers.lowlevel, restricted.devices.*, and restricted.networks.access). An attacker can exploit this by creating a disallowed or high-privilege instance in an unrestricted project and subsequently moving it into the restricted project.
Also found: Mitigation available · Affected version boundary identified
Linux distributions: vendors such as Red Hat, Debian, Ubuntu and SUSE often backport security fixes into older package versions. Check your distribution's own advisory rather than comparing upstream version numbers.
Built only from official records (NVD, the CVE List and CISA). No AI. Always confirm applicability for your exact version and platform in the vendor advisory. NVD record last modified 24 Oct 2026, 16:10 UTC · checked by StraitOfVuln 02 Dec 2026, 20:16 UTC.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H · Attack vector: Network| https://github.com/canonical/lxd/security/advisories/GHSA-5g5r-wh97-qcq2 | Vendor AdvisoryExploitMitigation |
| https://github.com/canonical/lxd/pull/18605 | ExploitPatch |
| https://github.com/canonical/lxd/pull/18651 | Patch |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Canonical Lxd