Skip to main content

Canonical LXD CVE-2026-63297

| EUVDEUVD-2026-57513 CRITICAL
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-08-12 canonical
9.9
CVSS 3.1 · Vendor: canonical
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to LXD API with low-privilege project access
  2. Delivery
    Create instance with disallowed high-privilege config
  3. Exploit
    Request cross-project copy into restricted project
  4. Execution
    Restriction check runs before config merge completes
  5. Persist
    Privileged instance lands in restricted project
  6. Impact
    Run privileged workload bypassing project controls

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires an authenticated LXD client (TLS certificate or equivalent) holding permission to create instances and to perform cross-project instance copies into a target project that enforces restrictions - this maps to the CVSS PR:L. The specific trigger is the cross-project instance-copy operation combined with a source instance that carries high-privilege configuration disallowed by the target project's restriction policy; without a restriction-enabled target project there is nothing to bypass. Limiting factors: the attacker must already have valid LXD API access and copy rights, and the deployment must actually use LXD projects with restrictions as a security boundary - single-tenant or unrestricted-project setups derive no security benefit from the check and are not meaningfully harmed by its bypass.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C, C:H/I:H/A:H) describes a low-complexity, network-reachable attack requiring only low privileges, with a scope change reflecting that a low-privileged actor in one project escalates control into a restricted project - this is the primary driver of the 9.9 score. Real-world risk is moderated by the prerequisite that the attacker already hold authenticated LXD access with rights to create and copy instances, so this is a privilege-escalation/guardrail-bypass rather than a pre-auth internet-facing RCE. No EPSS score, SSVC decision, POC, or KEV entry was provided, so exploitation probability cannot be quantified from the input; the absence of a public exploit and KEV listing suggests this is not yet under active exploitation. The most likely threat model is a multi-tenant LXD deployment where projects are used as a security boundary - there the impact is genuinely high because it collapses tenant isolation.

Exploit ScenarioDerived

An authenticated tenant with rights only in an unrestricted project crafts an instance whose configuration enables a high-privilege feature (e.g. a privileged or nested container), then issues a cross-project copy into a project that is supposed to forbid such settings. Because LXD checks the restriction before the merged configuration is finalized, the copy succeeds and the privileged instance runs inside the restricted project, giving the attacker capabilities the project policy was meant to deny. No public POC is identified at time of analysis, and the low attack complexity means a knowledgeable tenant could reproduce it reliably.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 12, 2026

Authorization bypass in Canonical LXD lets an authenticated user with copy privileges smuggle instances carrying disallowed high-privilege configurations into restricted projects, defeating per-project security controls. The root cause is a time-of-check to time-of-use race in which LXD validates project restrictions before configuration merging finishes during cross-project instance copies. Rated CVSS 9.9 with a scope change; there is no public exploit identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

Upgrade LXD to the fixed release identified in Canonical advisory GHSA-v989-qw7w-xvg4 (https://github.com/canonical/lxd/security/advisories/GHSA-v989-qw7w-xvg4); the exact patched version is not stated in the available data, so confirm it directly from that advisory (snap-based installs typically update automatically via the tracked channel). Until patched, reduce exposure by tightening who can perform cross-project copies: restrict LXD API certificates and TLS-authenticated clients so untrusted or low-trust users cannot copy instances into restricted projects, and avoid granting copy/create rights across project boundaries you rely on for isolation. As a compensating control, audit restricted projects for instances carrying unexpected high-privilege settings (privileged, nesting, host device passthrough) and treat projects as a soft rather than hard boundary until the fix is applied - the trade-off is operational friction for tenants who legitimately need cross-project copies.

Affected VersionsENISA

LXD 5.0.0 <5.0.8
LXD 5.21.0 <5.21.6

Affected Packages

euvd lxd fix: 5.0.8, 5.21.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LXD is Canonical's system container and virtual-machine manager that groups workloads into 'projects', each of which can carry restriction policies limiting privileged features (for example privileged containers, host device passthrough, or security.nesting). Cross-project instance copy operations merge source and target configuration and are supposed to re-validate the merged result against the target project's restrictions. The flaw maps to CWE-367 (TOCTOU): the restriction/authorization check executes at a point where the effective configuration has not yet been fully merged, so the value checked is not the value ultimately applied. The affected component is the LXD daemon itself (cpe:2.3:a:canonical:lxd:*), reachable through the LXD REST API over the local Unix socket or the network HTTPS listener.

Know when Lxd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (canonical) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Network-reachable LXD API with an authenticated low-privilege user (PR:L), consistent/low-complexity bypass (AC:L), and a scope change (S:C) as control crosses into a restricted project yielding full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
SUSE CRITICAL

Primary rating from Vendor (canonical).

CVSS VectorVendor: canonical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 12, 2026 - 21:17 EUVD
CVE Published
Aug 12, 2026 - 19:25 cve.org
CRITICAL 9.9

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Canonical LXD contains a critical authorization bypass vulnerability (CVSS 9.9) that allows authenticated users to circumvent project-level security controls during instance copying operations. Attackers with copy privileges can smuggle high-privilege configurations across project boundaries, directly undermining organizational multi-tenancy and workload isolation. This threatens deployments relying on LXD's project restrictions to enforce security boundaries between tenants or operational environments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict instance copy privileges to a minimal set of trusted administrators only; disable cross-project instance copying where operationally feasible; implement comprehensive audit logging and alerting for all instance copy operations; restrict LXD API access through network segmentation and authentication controls; establish a patch readiness program with documented testing procedures and approval workflows.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
widely used container/VM manager on Ubuntu, but not universally deployed
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Lxd

View all
CVE-2025-54286 HIGH POC
7.5 Oct 02

Cross-site request forgery in the LXD-UI component of Canonical LXD 5.0 before 5.0.5, 5.1 before 5.21.4, and 6.0 before

CVE-2025-54289 HIGH POC
7.4 Oct 02

Privilege escalation in Canonical LXD's operations API (LXD before 6.5 and LXD 5.21 before 5.21.4) allows an authenticat

CVE-2025-54293 HIGH POC
7.1 Oct 02

Authenticated remote attackers with access to the Canonical LXD instance log retrieval or deletion endpoints can read ar

CVE-2025-54287 HIGH POC
7.1 Oct 02

Server-side template injection in Canonical LXD's instance snapshot naming feature lets an authenticated user who can mo

CVE-2025-54290 MEDIUM POC
6.9 Oct 02

Unauthenticated project enumeration in Canonical LXD 5.21.x before 5.21.4 and 6.x before 6.5 lets remote attackers deter

CVE-2025-54291 MEDIUM POC
6.9 Oct 02

Unauthenticated remote attackers can confirm the existence of LXD projects on Canonical LXD by comparing HTTP status cod

CVE-2026-63294 CRITICAL
9.9 Aug 12

Privilege escalation to host root in Canonical LXD occurs when the container manager unpacks crafted image or backup arc

CVE-2026-66897 CRITICAL
9.9 Aug 24

Host root code execution in Canonical LXD arises from a path-traversal flaw in instance template processing, letting an

CVE-2026-112816 CRITICAL
10.0 Oct 30

Improper certificate validation in the HTTPS API listener of Canonical LXD lets an unauthenticated remote attacker prese

CVE-2026-63293 CRITICAL
9.9 Aug 12

Arbitrary host file read and write in Canonical LXD occurs because the image import/unpack routine does not verify wheth

CVE-2026-63298 CRITICAL
9.9 Aug 12

Canonical LXD's NVIDIA GPU passthrough configuration handler fails to sanitize newline characters in user-supplied `nvid

CVE-2026-66898 CRITICAL
9.9 Aug 12

Path traversal in Canonical's LXD container and VM manager allows a user with backup import/restore privileges to write

Vendor StatusVendor

SUSE

Severity: Critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy