Canonical LXD
CVE-2026-136976
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write access to instance directory or custom volume
-
DeliveryPlant case-variant symlinks inside the directory
-
ExploitOperator performs recursive file pull to case-insensitive client
-
ExecutionLink resolves outside the target directory
-
ImpactWrite arbitrary files and execute code as operator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three concrete conditions must all hold: (1) the attacker is an authenticated LXD user with write access to an instance directory or a custom volume, letting them plant case-variant symlinks; (2) an operator performs a recursive file pull (lxc file pull --recursive) of that content; and (3) the client/operator-side filesystem is case-insensitive (default on macOS APFS/HFS+ and Windows NTFS), which is what enables the case-variant symlink to resolve outside the target directory. Limiting factors that reduce real-world risk: the required operator interaction (UI:A), the authenticated write prerequisite, and the case-insensitive-client requirement - pulls to case-sensitive Linux filesystems are not affected by the described case-variant technique. |
| Impact | Severity signals are moderate-to-high but real-world risk is gated by several preconditions. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N) scores 8.5, yet it contains a clear internal conflict: it asserts PR:N (no privileges) while the description explicitly requires 'an authenticated user with write access to an instance directory or custom volume.' These disagree - the description implies at least low privilege (PR:L), so the PR:N scoring overstates how easily an arbitrary remote attacker can reach the flaw; verify with Canonical's advisory. Exploitation also requires operator interaction (UI:A - the operator must perform the recursive file pull) and a case-insensitive client filesystem (typically macOS or Windows defaults), neither of which is universal. No EPSS score, no CISA KEV listing, and no public exploit were provided, so there is no public exploit identified at time of analysis and no evidence of active or widespread exploitation. The vuln.today decision label is 'this_week,' consistent with a credible vendor-reported container-escape-class issue that warrants prompt but not emergency patching. Net: a genuine, actionable integrity/code-execution issue for LXD operators who pull untrusted instance content to case-insensitive clients, but not a mass-exploitation 'drop everything' event given the authentication, interaction, and filesystem preconditions. |
| Exploit ScenarioDerived | An authenticated user who can write into an instance directory or custom volume plants case-variant symlinks there. When an LXD operator later runs a recursive file pull (e.g., lxc file pull --recursive) onto a case-insensitive client filesystem, improper link resolution causes files to be written outside the intended target directory, leading to code execution in the operator's context. No public exploit code was identified in the provided sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Arbitrary file write outside the intended target directory - and code execution as the operator - is possible in Canonical LXD before 4.0.15, 5.0.11, 5.21.9 and 6.8 when a recursive file pull resolves a case-variant symlink on a case-insensitive client filesystem. Three conditions must hold together: the attacker is an authenticated LXD user with write access to an instance directory or custom volume, an operator runs a recursive pull of that content, and the operator's filesystem is case-insensitive (macOS APFS/HFS+, Windows NTFS), so pulls onto case-sensitive Linux filesystems are not affected by the described technique. The CNA scores it 8.5 while the assessed CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H) reflects the high attack complexity, low privilege prerequisite and required operator interaction; there is no KEV entry and no public exploit identified at time of analysis, and priority is 'this week' rather than immediate.
RemediationAI
Vendor-released patch: upgrade to LXD 4.0.15, 5.0.11, 5.21.9 or 6.8 according to the branch in use, per the advisory at https://github.com/canonical/lxd/security/advisories/GHSA-j7j6-8prc-c4g6. Where upgrading cannot happen immediately, the assessed preconditions map directly onto compensating controls: restrict write access to instance directories and custom volumes so that only trusted principals can plant content there (this removes the attacker prerequisite entirely but changes tenancy and delegation workflows), and avoid recursive pulls ('lxc file pull --recursive') of content authored by less-trusted tenants until patched. Performing such pulls onto a case-sensitive Linux filesystem avoids the case-insensitive resolution step that the described technique depends on, at the cost of moving data off the usual macOS or Windows operator workstation; this is a partial workaround only, since the underlying link-resolution defect remains until the upgrade is applied.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
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 container and virtual-machine manager, exposing instance directories and custom volumes that operators can copy off the host with recursive pulls such as 'lxc file pull --recursive'. The flaw is a classic CWE-22 path traversal in a link-resolution step: the code resolves links before validating the resulting file access path, so a symlink whose name differs only in letter case is not recognised as escaping the target directory. On case-insensitive filesystems two names that differ only by case are the same object, which is what turns the planted case-variant symlink into a write outside the pulled directory, and an executable file placed in that way can then run with the operator's privileges. The vendor-reported vector is CVSS 4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N, whereas the assessed vector treats the write-access prerequisite as PR:L and the complexity as AC:H; the practical difference is that the assessed view treats successful exploitation as requiring a specifically positioned, already-authenticated tenant plus a targeted operator pull. The affected CPE is the generic canonical:lxd entry, and the fix branches are the 4.0.x, 5.0.x, 5.21.x and 6.x lines.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Requires authenticated instance write access (PR:L), operator-initiated recursive pull (UI:R), and a case-insensitive client (AC:H); code execution as operator escapes the instance boundary (S:C).
Primary rating from Vendor (canonical).
CVSS VectorVendor: canonical
DescriptionCVE.org
Improper link resolution before file access in recursive file pull in Canonical LXD before 4.0.15, 5.0.11, 5.21.9, and 6.8 on case-insensitive client filesystems allows an authenticated user with write access to an instance directory or custom volume to write arbitrary files outside the target directory and execute code as the operator via case-variant symlinks.
Executive ViewAI
A high-severity vulnerability in Canonical LXD lets a malicious authenticated LXD user corrupt or overwrite files and achieve code execution on the machines of operators who pull their content. The practical risk concentrates on developers and administrators using macOS or Windows workstations, where a single routine command can compromise the operator's machine and anything it can reach. Leadership should care because the effective attack path crosses from shared LXD environments onto trusted end-user systems, and Canonical has not yet released a fix, so exposure depends on operational discipline rather than patching.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict LXD instance and custom-volume write access to trusted users, avoid recursive pulls of untrusted content on macOS APFS/HFS+ and Windows NTFS, use case-sensitive Linux systems or case-sensitive volumes for recursive pulls, and review pulled content before use. Apply vendor patch when released.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Affected Products (CPE)CVE.org
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
Privilege escalation in Canonical LXD's operations API (LXD before 6.5 and LXD 5.21 before 5.21.4) allows an authenticat
Authenticated remote attackers with access to the Canonical LXD instance log retrieval or deletion endpoints can read ar
Server-side template injection in Canonical LXD's instance snapshot naming feature lets an authenticated user who can mo
Improper certificate validation in the HTTPS API listener of Canonical LXD lets an unauthenticated remote attacker prese
Unauthenticated project enumeration in Canonical LXD 5.21.x before 5.21.4 and 6.x before 6.5 lets remote attackers deter
Unauthenticated remote attackers can confirm the existence of LXD projects on Canonical LXD by comparing HTTP status cod
Privilege escalation to host root in Canonical LXD occurs when the container manager unpacks crafted image or backup arc
Host root code execution in Canonical LXD arises from a path-traversal flaw in instance template processing, letting an
Arbitrary host file read and write in Canonical LXD occurs because the image import/unpack routine does not verify wheth
Canonical LXD's NVIDIA GPU passthrough configuration handler fails to sanitize newline characters in user-supplied `nvid
Path traversal in Canonical's LXD container and VM manager allows a user with backup import/restore privileges to write
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB