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.
Published: 2026-08-12
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An improper validation flaw in LXD’s instancePostMigration routine permits an authenticated user with can_create_instances privileges on a restricted project to create an instance that violates the target project’s configuration constraints and then move it into that project. The vulnerability lies in the failure to enforce restrictions such as restricted.containers.lowlevel, restricted.devices.*, and restricted.networks.access during migration, allowing the attacker to inject privileged resources that can execute commands on the host. The weakness is identified as CWE‑862, a failure in access control, and results in the attacker gaining full host command execution capability.

Affected Systems

The issue affects Canonical’s LXD container manager. All releases prior to 5.0.8, 5.21.6, or 6.10 are vulnerable; upgrading to any of those versions or later eliminates the flaw.

Risk and Exploitability

The CVSS score of 9.9 indicates critical severity, and though an EPSS score is not available, the absence of mitigation means the risk is high. The attacker must be authenticated and possess can_create_instances rights on a restricted project, but once those conditions are met, the migration can be exploited with no external trigger. The vulnerability is not listed in CISA’s KEV catalog, but the high severity and potential for host compromise warrant immediate attention.

Generated by OpenCVE AI on August 12, 2026 at 22:58 UTC.

Remediation

Vendor Solution

Upgrade to LXD version 5.0.8 or later, 5.21.6 or later, or 6.10 or later.


OpenCVE Recommended Actions

  • Upgrade LXD to 5.0.8, 5.21.6, or 6.10 or later to receive the fix for the instance migration validation error
  • If a patch cannot be applied immediately, revoke can_create_instances permission from users in restricted projects or disable cross‑project instance moves via the LXD configuration
  • Audit all existing project configurations and users for elevated privileges, and monitor the LXD logs for unauthorized instance migration activities

Generated by OpenCVE AI on August 12, 2026 at 22:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical lxd
Vendors & Products Canonical
Canonical lxd

Wed, 12 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title Cross-project instance move bypasses all project restrictions allowing host command execution
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-08-13T03:55:57.204Z

Reserved: 2026-07-16T10:01:05.653Z

Link: CVE-2026-63300

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-12T20:17:47.953

Modified: 2026-08-13T05:17:24.860

Link: CVE-2026-63300

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T23:00:05Z

Weaknesses