Cross-project instance move bypasses all project restrictions allowing host command execution (Canonical LXD)

CVE-2026-63300
CRITICAL 9.9

At a glance

Source
NVD
EPSS
EPSS 0.54 % · percentile 45 ()
State
PUBLISHED
Published
Updated
Assigner
canonical
NVD status
Analyzed

Description

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.

Weaknesses (CWE)

  • CWE-862 — Missing Authorization

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:Hcanonical
CVSS 3.1CRITICAL 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · security@ubuntu.com (Secondary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
Canonical · LXDaffected 5.0.0 < 5.0.8 ; affected 5.21.0 < 5.21.6 ; affected 6.0 < 6.10

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD