Skip to main content

Canonical LXD CVE-2026-136976

HIGH
Path Traversal (CWE-22)
2026-11-26 canonical
8.5
CVSS 4.0 · Vendor: canonical
View

Attack ChainAIDerived

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

  1. Access
    Obtain write access to instance directory or custom volume
  2. Delivery
    Plant case-variant symlinks inside the directory
  3. Exploit
    Operator performs recursive file pull to case-insensitive client
  4. Execution
    Link resolves outside the target directory
  5. Impact
    Write 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.9% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Vendor (canonical) PRIMARY 8.5 HIGH
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
vuln.today AI 8.0 HIGH

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

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

Primary rating from Vendor (canonical).

CVSS VectorVendor: canonical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.9%
Top 41% exploitable
Prevalence
Medium
widely used container/VM manager in Ubuntu ecosystems, not universally deployed
Social Media
4
Sightings
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS 0.9%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

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

cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*

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