9.9critical
Cross-project instance move bypasses all project restrictions allowing host command execution
- Severity
- 9.9critical CVSS:3.1 by canonical
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- canonical
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| LXD | from 5.0.0 before 5.0.8, from 5.21.0 before 5.21.6, from 6.0 before 6.10 | CVE List |
| canonical lxd | from 5.0.0 before 5.0.8, from 5.1 before 5.21.6, from 6.0 before 6.10 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de validación incorrecta en la función instancePostMigration en lxd/instance_post.go de LXD permite a un atacante autenticado con permisos de can_create_instances en un proyecto restringido eludir las restricciones de seguridad a nivel de proyecto. Al migrar una instancia entre proyectos, LXD no valida la configuración de la instancia contra las restricciones impuestas por el proyecto de destino (como restricted.containers.lowlevel, restricted.devices.* y restricted.networks.access). Un atacante puede explotar esto creyo una instancia no permitida o de alto privilegio en un proyecto no restringido y posteriormente moviéndola al proyecto restringido.
References
| https://github.com/canonical/lxd/security/advisories/GHSA-5g5r-wh97-qcq2 | exploit, mitigation, vdb-entry, vendor-advisory | |
| https://github.com/canonical/lxd/pull/18651 | patch | |
| https://github.com/canonical/lxd/pull/18605 | exploit, patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63300 changed 2026-08-13 | CVE Terms of Use |
| NVD | CVE-2026-63300 changed 2026-10-24 | Public domain |