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

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.

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

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 yet.

History

Thu, 13 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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

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

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

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-08-13T14:29:39.772Z

Reserved: 2026-07-16T09:49:29.911Z

Link: CVE-2026-63297

cve-icon Vulnrichment

Updated: 2026-08-13T14:29:07.488Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-08-28T15:24:38.600

Link: CVE-2026-63297

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T23:45:03Z

Weaknesses
  • CWE-367

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

  • CWE-863

    Incorrect Authorization