Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain LXD user with import rights
-
DeliveryCraft backup archive with '../' in instance/volume name
-
ExploitSubmit archive to backup import/restore API
-
ExecutionLXD resolves unsanitized path outside restore dir
-
PersistOverwrite or read host files
-
ImpactEscalate to host compromise
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 | Exploitation requires the ability to supply a backup archive to the target LXD and trigger a backup import or restore operation - that is the exact feature path in play. The attacker must control the instance name or storage-volume name embedded in the archive metadata and populate it with path traversal sequences (e.g. '../'). Limiting factors: per the CVSS vector, some authenticated privilege is required (PR:L), so the attacker needs an LXD account/token with backup import or restore rights rather than anonymous access; no end-user interaction is needed (UI:N), and the operation is reachable over the network-facing API (AV:N). Deployments that restrict import/restore permissions to fully trusted administrators, or that never import externally supplied archives, materially reduce realistic exposure. |
| Impact | The signals are mostly internally consistent and point to a genuine high priority rather than a merely high number: the CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) shows a low-complexity, network-reachable attack that needs only some level of authenticated privilege (PR:L) yet crosses a security scope (S:C) to fully impact the host, which is what pushes the base score to 9.9. However, several corroborating signals are simply absent: there is no EPSS probability, no CISA KEV listing, and no published proof-of-concept in the provided data, so real-world exploitation likelihood cannot be quantified and the score reflects potential impact rather than observed attacks. The PR:L requirement is a meaningful limiter - an attacker must already be able to submit a backup archive to the target, which in many deployments means a project-scoped or restricted LXD user rather than an anonymous internet actor - so exposure depends heavily on how broadly backup-import rights and the API are shared; even a mid-sized municipal IT team in gliwice running multi-tenant LXD projects should treat this as urgent because a single semi-trusted user could escalate to host-level file overwrite. Net assessment: credible, patch-worthy, and prioritize where untrusted or lower-tier users hold import/restore permissions, while noting that widespread automated exploitation is unproven. |
| Exploit ScenarioDerived | A semi-trusted LXD user with permission to import backups crafts a backup archive whose instance or volume name in the metadata contains '../../' path traversal sequences pointing at a sensitive host location. When LXD imports or restores the archive, it writes archive contents to the traversed path, letting the attacker overwrite host configuration or binaries and pivot to host-level compromise. No public proof-of-concept is identified at time of analysis, but the low attack complexity makes exploitation straightforward for anyone able to supply an archive. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Path traversal in Canonical's LXD container and VM manager allows a user with backup import/restore privileges to write or read files outside the intended restore directory by embedding traversal sequences in the instance or storage-volume names stored in a crafted backup archive's metadata. Because LXD does not validate these names on import/restore, an attacker can corrupt or overwrite host files, potentially leading to full host compromise. There is no public exploit identified at time of analysis, and it is not listed in CISA KEV; the very high CVSS (9.9) is driven by the scope-changing, high-integrity/availability impact on the host.
RemediationAI
Patch available per vendor advisory: upgrade LXD to the fixed release identified in Canonical's GitHub Security Advisory GHSA-m857-c7gc-c984 (https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984); an exact fixed version string was not included in the provided data, so confirm the patched build from that advisory before deploying. Until patched, reduce exposure by restricting who can import or restore backups - grant backup/import rights only to fully trusted operators and remove them from lower-tier or multi-tenant project users, since exploitation requires the ability to submit a crafted archive. Additionally, only import backup archives from trusted sources, avoid restoring third-party or externally supplied archives, and where feasible limit LXD API reachability (bind the API to trusted networks or the local socket only and firewall the HTTPS listener) to shrink the attacker population; the trade-off is reduced remote-management convenience for delegated users.
Affected VersionsENISA
Affected Packages
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 (cpe:2.3:a:canonical:lxd) is Canonical's system-container and virtual-machine hypervisor manager, typically driven through a REST API over a local Unix socket or an exposed HTTPS endpoint, and widely used on Ubuntu hosts. Its backup format packages instance and storage-volume data along with metadata describing the object names, and on import/restore LXD reconstructs files under a designated restore path derived from those names. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the instance and volume names taken from attacker-controlled archive metadata are concatenated into filesystem paths without sanitization, so sequences such as '../' let the resolved path escape the restore directory and reference arbitrary locations on the host filesystem.
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Reachable via authenticated API (AV:N, PR:L) with trivial crafting (AC:L); traversal escapes the restore directory to the host, changing scope (S:C) with full host file read/overwrite (C/I/A:H).
Primary rating from Vendor (canonical).
CVSS VectorVendor: canonical
Lifecycle Timeline
2DescriptionCVE.org
A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations. When importing or restoring a backup archive, LXD fails to validate instance and storage volume names contained within the archive metadata. An attacker can exploit this flaw by supplying a crafted backup archive with malicious instance or volume names containing path traversal sequences, potentially allowing file access or overwriting outside the designated restore directory.
Executive ViewAI
Canonical's LXD container manager contains a critical path traversal vulnerability (CVE-2026-66898, CVSS 9.9) that allows privileged users to read and write arbitrary files on the host system, risking complete compromise of virtualized infrastructure. No public exploit identified at time of analysis. Organizations operating LXD face immediate exposure to data exfiltration, system corruption, and loss of container orchestration control, with no vendor patch currently available.
Restrict backup import/restore privileges to minimal required administrative personnel with individual account logging enabled; implement file integrity monitoring on host filesystems; isolate LXD hosts on dedicated network segments with restricted access; disable LXD backup import/restore features where operationally feasible; enforce multi-factor authentication for all LXD administrative accounts.
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.
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
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
Authorization bypass in Canonical LXD (6.0 before 6.10, 5.21.x before 5.21.6, 5.0.x before 5.0.8) lets an authenticated
Project-confinement bypass in Canonical LXD lets an authenticated user holding can_create_instances on a restricted proj
EUVD-2026-57545
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB