Skip to main content

LXD CVE-2026-66898

| EUVDEUVD-2026-57545 CRITICAL
Path Traversal (CWE-22)
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
    Obtain LXD user with import rights
  2. Delivery
    Craft backup archive with '../' in instance/volume name
  3. Exploit
    Submit archive to backup import/restore API
  4. Execution
    LXD resolves unsanitized path outside restore dir
  5. Persist
    Overwrite or read host files
  6. Impact
    Escalate 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.

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

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

Alert me

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

LXD 4.0.0 <4.0.12
LXD 6.0 <6.1
LXD 5.0.0 <5.0.4
LXD 5.21.0 <5.21.2

Affected Packages

euvd lxd fix: 4.0.12, 5.0.4, 5.21.2, 6.1

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

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

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

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 - 20:07 cve.org
CRITICAL 9.9

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
Common container/VM manager on Ubuntu hosts, not universally deployed
Data Quality
7 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.3%
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

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

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-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-62420 CRITICAL
9.9 Aug 12

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

CVE-2026-63300 CRITICAL
9.9 Aug 12

Project-confinement bypass in Canonical LXD lets an authenticated user holding can_create_instances on a restricted proj

Vendor StatusVendor

SUSE

Severity: Critical

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