Skip to main content

Canonical LXD CVE-2026-12411

| EUVDEUVD-2026-39788 CRITICAL
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-06-26 canonical
9.6
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain control of a guest instance on shared host
  2. Delivery
    Open local /dev/lxd management socket
  3. Exploit
    Send crafted device PATCH naming victim's volume
  4. Execution
    Handler skips ownership check, mounts foreign volume
  5. Impact
    Read and overwrite another guest's storage data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

The host must have security.devlxd.management.volumes explicitly enabled - this is a non-default configuration setting and is the single most important prerequisite. The attacker must already control a guest instance on that host and be able to send device PATCH requests to the local /dev/lxd management socket, and a victim guest with a custom storage volume must exist on the same host to be targeted. Exploitation is limited by all of these factors: no valid path exists on hosts that leave devLXD volume management disabled, the attacker needs an existing foothold as a guest (PR:L, not unauthenticated), and SSVC rates the attack as not automatable, so it is targeted rather than mass-scalable.

Impact

Signals conflict and must be weighed carefully. The CVSS 9.6 is driven by S:C (crossing from the attacker's guest to a victim guest's data) plus C:H/I:H, and the SSVC 'total' technical impact agrees the confidentiality/integrity damage is severe. However, several signals temper real-world priority: EPSS is only 0.11% (1st percentile), the vulnerability is NOT in CISA KEV, SSVC marks it Automatable=no (each target needs the right conditions rather than mass, hands-off exploitation), and exploitation depends on a non-default setting (security.devlxd.management.volumes) that most deployments do not enable. There is also a vector discrepancy worth verifying: Canonical scored AV:N, yet the attack is performed from inside a guest against a local /dev/lxd Unix socket, which is more consistent with AV:L - verify with the vendor advisory before treating this as a remotely reachable network flaw. Net: a genuinely high-impact isolation break for the subset of hosts that opt into devLXD volume management, but not a broad, spray-and-pray internet threat.

Exploit ScenarioDerived

An attacker who controls one guest instance on a shared LXD host (for example a low-trust tenant container) crafts a device PATCH request to /dev/lxd referencing another tenant's custom storage volume identifier. Because the handler does not check ownership, the volume is mounted into the attacker's guest, allowing it to read confidential data and overwrite the victim's data. SSVC rates a proof-of-concept as available; the attack requires only local low-privilege access from within a guest, though the target host must have security.devlxd.management.volumes enabled.

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

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

Alert me

AnalysisAIv3 – Jul 02, 2026

Cross-guest storage-volume hijacking in Canonical LXD 6.6 through 6.8 lets an untrusted guest instance mount, read, and overwrite the custom storage volumes owned by other guests on the same host, breaking tenant isolation. Exploitation requires the non-default security.devlxd.management.volumes option to be enabled, and is fixed in LXD 6.9. Rated CVSS 9.6 with a scope change and CISA SSVC 'total' technical impact; SSVC lists exploitation as proof-of-concept, but EPSS is very low (0.11%, 1st percentile) and it is not in CISA KEV.

Earlier versions of this analysis (2)
v2 Jul 02, 2026 - 15:00 cvss changed CVSS 9.6

Cross-tenant storage volume compromise in Canonical LXD 6.6 through 6.8 lets an untrusted guest mount, read, and overwrite another guest's custom storage volume by sending a crafted device PATCH request to the devLXDInstancePatchHandler over the /dev/lxd socket. Exploitation requires the non-default security.devlxd.management.volumes option to be enabled, and a POC is referenced in the SSVC assessment though the flaw is not in CISA KEV. Publicly available exploit code exists (SSVC exploitation: poc); EPSS remains low at 0.11% (1st percentile), consistent with a config-gated, non-automatable weakness rather than mass exploitation.

v1 Jun 26, 2026 - 16:16 CVSS 8.4

Cross-guest storage volume hijack in Canonical LXD allows an untrusted guest to mount, read, and overwrite the custom storage volume belonging to a different guest by issuing a crafted device PATCH request to the devLXDInstancePatchHandler over the /dev/lxd socket. Exploitation is gated on the non-default security.devlxd.management.volumes option being enabled, which exposes volume management to guests without enforcing per-guest ownership checks (CWE-639). No public exploit identified at time of analysis; the issue was reported and fixed by Canonical, with an upstream patch available.

RemediationAI

Upgrade to Canonical LXD 6.9, which contains the fix (Vendor-released patch: LXD 6.9), delivered via pull request https://github.com/canonical/lxd/pull/18585 and documented in advisory https://github.com/canonical/lxd/security/advisories/GHSA-hhf9-qw4v-72xp. If you cannot upgrade immediately, disable the vulnerable feature by setting security.devlxd.management.volumes to false (or leaving it at its default off state); the trade-off is that guests can no longer self-manage custom storage volumes through the devLXD API, which may break tenant workflows that rely on that capability. Because the flaw is a cross-guest isolation break, additionally treat any host running vulnerable LXD with that setting enabled as potentially having exposed guest volume data, and review volumes for unexpected reads or overwrites.

Affected VersionsENISA

LXD 6.6 <6.9

Affected Packages

euvd lxd fix: 6.9

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 exposes a guest-facing management endpoint, devLXD, over a Unix socket at /dev/lxd inside each instance; the devLXDInstancePatchHandler processes PATCH requests that modify an instance's device configuration. When security.devlxd.management.volumes is enabled, guests may manage storage devices for themselves through this API, but the handler resolves the target volume from a guest-supplied identifier without verifying that the requesting instance actually owns it. This is a textbook CWE-639 (Authorization Bypass Through User-Controlled Key): the authorization decision trusts an attacker-controlled reference, so a guest can name and attach a volume belonging to a different guest. The affected component is the LXD daemon itself (cpe:2.3:a:canonical:lxd), the container/VM manager that mediates the host-to-guest and guest-to-storage boundaries.

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 HIGH
NVD 9.6 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
vuln.today AI 8.4 HIGH

Attack originates inside a guest via the local /dev/lxd socket (AV:L) and needs an existing guest foothold plus the non-default volumes setting (PR:L); reaching another guest's volume is a scope change (S:C).

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

Primary rating from Vendor (canonical).

CVSS VectorNVD

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

Lifecycle Timeline

4
Analysis Updated
Jul 02, 2026 - 15:00 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 02, 2026 - 15:00 vuln.today
v2 - CVSS changed
Severity Changed
Jul 02, 2026 - 14:52 NVD
HIGH CRITICAL
CVSS changed
Jul 02, 2026 - 14:52 NVD
8.4 (HIGH) 9.6 (CRITICAL)

DescriptionNVD

Broken Access Control in the devLXDInstancePatchHandler component of Canonical LXD allows an untrusted guest to mount, read, and overwrite another guest's custom storage volume via a crafted device PATCH request over /dev/lxd when security.devlxd.management.volumes is enabled.

Executive ViewAI

Why It Matters

Canonical LXD versions 6.6-6.8 contain a critical tenant isolation vulnerability allowing untrusted guest instances to access and modify storage volumes of other tenants. Publicly available exploit code exists; however, the vulnerability requires the non-default security.devlxd.management.volumes option to be enabled, limiting real-world exposure to specific multi-tenant deployments.

Business Impact: Severe
Compensating Controls

Vendor-released patch: LXD 6.9. Interim mitigation if patch deployment is delayed: disable security.devlxd.management.volumes unless operationally required; implement strict network isolation between untrusted guest instances.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
widely used Ubuntu container/VM manager, but vulnerable devLXD volume config is niche
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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.1%
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
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

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