CVE-2026-63297

Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge

Published Aug 12, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
An authorization bypass vulnerability in LXD due to a timing flaw during configuration merging allows an authenticated attacker to bypass target project restrictions during cross-project instance copies. When copying an instance to a target project, LXD performs restriction checks before configuration merging is complete, creating a time-of-check to time-of-use (TOCTOU) condition. An attacker can exploit this flaw to copy instances with disallowed high-privilege configurations into restricted projects, bypassing security controls.

Analysis

AI-generated

Technical impact

An authenticated attacker can exploit a timing flaw in LXD’s configuration merging process. When an instance is copied to a target project, LXD performs restriction checks before the merge completes, creating a TOCTOU condition that permits the attacker to inject disallowed high‑privilege configuration into the copy before final validation. This flaw enables the placement of instances with elevated privileges into projects that are meant to restrict such configurations, thereby compromising the confidentiality, integrity, and potential availability of resources within those projects.

Affected Systems

Canonical LXD deployments are affected. Vulnerable versions are those earlier than 5.0.8 and earlier than 5.12.6, as noted by the vendor. Any installation that allows authenticated users to perform cross‑project instance copies is susceptible, regardless of network exposure.

Risk and Exploitability

The CVSS score of 9.9 marks this vulnerability as critical and indicates a high likelihood of successful exploitation. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack requires authenticated access but does not need elevated privileges beyond those granted to the copying user. Because the flaw arises from a TOCTOU race condition, it is likely easy to trigger once the copying operation is permitted, making the risk significant for systems that enable cross‑project instance copying.

Remediation

Vendor Solution

Upgrade to LXD version 5.0.8 or later, or 5.12.6 or later.


OpenCVE Recommended Actions

  • Upgrade to LXD 5.0.8 or later, or to 5.12.6 or later, to remove the TOCTOU flaw
  • If an upgrade is not immediately possible, restrict the cross‑project instance copy capability to users who require it and remove that privilege from all other accounts
  • Disable the ability to perform cross‑project instance copies entirely if the functionality is not needed for operational purposes
  • As a temporary containment, monitor LXD configuration merge logs for unusual activity and review audit trails for unauthorized instance placements

Generated by OpenCVE AI on August 12, 2026 at 23:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Canonical
Canonical lxd
Vendors & Products Canonical
Canonical lxd
Type Values Removed Values Added
Description An authorization bypass vulnerability in LXD due to a timing flaw during configuration merging allows an authenticated attacker to bypass target project restrictions during cross-project instance copies. When copying an instance to a target project, LXD performs restriction checks before configuration merging is complete, creating a time-of-check to time-of-use (TOCTOU) condition. An attacker can exploit this flaw to copy instances with disallowed high-privilege configurations into restricted projects, bypassing security controls.
Title Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge
Weaknesses CWE-367
CWE-863
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'}

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Aug 13, 2026, 2:29 PM
Reserved
Jul 16, 2026, 9:49 AM
Status
Analyzed
Published
Aug 12, 2026, 8:17 PM
Modified
Oct 24, 2026, 4:10 PM