Skip to main content

LXD CVE-2026-16033

| EUVDEUVD-2026-57547 HIGH
Path Traversal (CWE-22)
2026-08-12 canonical
8.5
CVSS 3.1 · Vendor: canonical
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege LXD API credentials
  2. Delivery
    Craft image archive with traversal template paths
  3. Exploit
    Submit image to LXD and launch VM instance
  4. Execution
    QEMU driver processes malicious template without path sanitization
  5. Persist
    Read sensitive host files (e.g., /etc/shadow) or write attacker-controlled files to arbitrary host paths
  6. Impact
    Leverage file write for host privilege escalation

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

The attacker must hold low-privilege authenticated access to the LXD API (CVSS PR:L confirmed) - unauthenticated exploitation is not supported by the available vector. The attacker must be able to submit or reference a crafted image archive containing malicious metadata template directives with path traversal sequences. The vulnerability is specifically described as affecting the virtual machine/QEMU driver execution path, meaning instantiation of VM-type (not purely container-type) instances is the triggering condition. Limiting factors include: the PR:L requirement rules out fully unauthenticated remote exploitation; environments that restrict image ingestion to administrators only and do not permit untrusted users to supply or import images are not directly exploitable by low-privilege accounts; and pure-container-only LXD deployments (QEMU/VM driver disabled) may not be reachable via this specific code path.

Impact

The CVSS 8.5 score is substantiated across multiple vectors: network-accessible (AV:N), low complexity (AC:L), low privilege (PR:L), no user interaction (UI:N), and a scope change (S:C) with high confidentiality impact (C:H). The scope change is the most critical signal - it confirms that exploitation escapes the container/VM trust boundary and directly affects the host operating system, which is exactly the class of impact that makes LXD vulnerabilities severe in multi-tenant or cloud environments. The integrity impact (I:L) reflects unconstrained file creation but not arbitrary modification, though depending on the host configuration, file creation alone may be sufficient to achieve privilege escalation (e.g., writing to cron directories, SSH authorized_keys, or PAM config files). No EPSS score was provided, and no KEV listing is present, so the real-world exploitation rate is unknown. The PR:L requirement limits opportunistic mass exploitation - an attacker must have at minimum some LXD API access to submit or reference images. However, in shared LXD environments (cloud hosting, development platforms), low-privilege access is commonly granted to multiple users, significantly broadening the realistic attacker pool.

Exploit ScenarioDerived

An attacker with low-privilege LXD API access (e.g., a developer account on a shared Ubuntu cloud platform) crafts a malicious image archive whose metadata template section contains path traversal sequences such as '../../etc/shadow' as a template destination path. When LXD processes the image to launch a VM instance, the QEMU driver materializes the template file at the traversed host path, returning the contents of /etc/shadow to the attacker or writing an attacker-controlled file to an arbitrary host location such as /etc/cron.d/. No public proof-of-concept code has been identified, but the attack requires only standard image archive crafting and LXD API access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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 LXD's image metadata template processing enables an authenticated low-privilege attacker to read arbitrary host files or create files in arbitrary host filesystem locations. The flaw resides in the virtual machine/QEMU driver execution path, where LXD fails to sanitize template file paths from escaping the designated instance templates directory. Exploitation crosses the container/VM boundary to the host (scope change, S:C), making this high-severity in environments where host isolation is a security assumption. No public exploit code or CISA KEV listing has been identified at time of analysis.

RemediationAI

Consult the Canonical security advisory at https://github.com/canonical/lxd/security/advisories/GHSA-9hcm-hxh5-7xxh for the confirmed patched release - no exact fix version was provided in the available intelligence data, so a specific target upgrade version cannot be independently confirmed here. As a compensating control, restrict who can create LXD instances from untrusted or externally sourced image archives - specifically limit the LXD API 'image.create' and instance launch operations to fully trusted administrators only, removing low-privilege user access to image ingestion. If VM workloads are not required, temporarily disabling the QEMU driver and restricting instance types to containers may reduce the exploitable surface until a patch is applied. Note that this mitigation has an operational trade-off: it prevents VM-type instance creation entirely. Network-level restriction of the LXD API socket (typically Unix socket or HTTPS on port 8443) to authorized subnets or hosts reduces remote exploitation surface but does not eliminate the vulnerability for authorized low-privilege users.

Affected VersionsENISA

LXD 5.0.0 <5.0.8
LXD 4.0.0 <4.0.12

Affected Packages

euvd lxd fix: 4.0.12, 5.0.8

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 manager, using LXC for containers and QEMU for VM workloads. This vulnerability manifests in the image metadata template processing pipeline - specifically the VM/QEMU driver code path - where image archives can include template files that LXD materializes on the host filesystem during instance initialization. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) is the root cause: LXD fails to validate or canonicalize template paths against the designated instance templates root directory, allowing sequences such as '../../' to resolve outside the intended boundary. Because templates are processed with host-level filesystem access in the QEMU driver path, successful traversal operates on the host rather than the container filesystem. The wildcard CPE ('*') indicates all released LXD versions are affected, with no version ceiling confirmed from the available data.

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

PR:L confirmed since LXD API access is required; S:C reflects host filesystem impact beyond the container/VM boundary; I:L for file creation without confirmed arbitrary modification.

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

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
Low
Availability
None

Lifecycle Timeline

2
Patch available
Aug 12, 2026 - 21:17 EUVD
CVE Published
Aug 12, 2026 - 20:11 cve.org
HIGH 8.5

DescriptionCVE.org

A path traversal vulnerability in LXD allows an attacker to achieve arbitrary host file read or unconstrained file creation. When processing image metadata templates, LXD fails to properly sanitize or restrict template file paths from escaping the instance templates directory (specifically affecting virtual machine / QEMU driver execution paths). An attacker can exploit this flaw by providing a crafted image archive with malicious template directives containing path traversal sequences, causing LXD to access or write files outside the intended template directory on the host system.

Executive ViewAI

Why It Matters

Canonical LXD contains a critical vulnerability in virtual machine image processing that allows authenticated users to access and modify arbitrary files on the host system, directly breaking the isolation boundary that organizations depend on to secure their containerized workloads. Organizations using LXD for application containment face potential compromise of the entire host infrastructure supporting their services.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict LXD management API access to trusted administrative networks and accounts only; disable the QEMU virtual machine driver if operationally feasible; enforce multi-factor authentication for all LXD administrative accounts; implement filesystem integrity monitoring on host systems running LXD to detect unauthorized file creation or modification.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
widely used in Ubuntu/Canonical cloud and developer environments
Data Quality
8 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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

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

Vendor StatusVendor

SUSE

Severity: Important

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