Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain LXD image-import privilege
-
DeliveryCraft image archive with symlinked metadata.yaml
-
ExploitPush archive to LXD API
-
ExecutionLXD unpack follows symlink to host path
-
PersistRead or overwrite host file as root
-
ImpactEscalate to host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires the attacker to be able to import or unpack an image archive into LXD (an image-management privilege, consistent with PR:L), and to supply a crafted archive whose metadata.yaml entry is a symbolic link pointing to a chosen host path. The exploit is gated by LXD processing that attacker-controlled archive during import/unpack; it does not require user interaction (UI:N) and is reachable over the LXD API network vector (AV:N). Limiting factors: the attacker must already possess image-import rights rather than being fully anonymous, so environments that forbid untrusted users from importing images are not exposed, and successful host impact assumes the LXD daemon runs with sufficient (typically root) privilege to reach the targeted paths. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, 9.9) reflects a genuinely severe primitive - network-reachable via the LXD API, low complexity, scope-changing, and full CIA impact on the host - but PR:L confirms the attacker must already hold some authenticated privilege to import images, so this is not an anonymous internet-wide bug. No EPSS score, KEV entry, POC, or SSVC decision data was supplied, so real-world exploitation likelihood cannot be quantified from the input; the absence of KEV/POC signals means priority rests on the intrinsic severity and the value of the target rather than observed mass exploitation. One consistency note: the reference tag classifies this only as 'Information Disclosure,' which understates the vulnerability - the description and the I:H/A:H metrics indicate arbitrary file WRITE, not just read, so defenders should treat it as an integrity/host-compromise issue, not merely disclosure. Given LXD daemons typically run as root, the write primitive plausibly escalates to full host takeover, making this a real priority wherever untrusted or semi-trusted users can push images. |
| Exploit ScenarioDerived | A semi-trusted tenant or CI account that holds LXD image-import privileges crafts an image archive in which metadata.yaml is a symlink pointing to a sensitive host file (for example a systemd unit, an authorized_keys file, or /etc configuration). When LXD imports and unpacks the archive, it follows the symlink and reads or overwrites the targeted host path as root, enabling credential theft or code execution on the host. No public exploit code was identified at time of analysis, but the low attack complexity makes weaponization straightforward once the archive format is understood. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Arbitrary host file read and write in Canonical LXD occurs because the image import/unpack routine does not verify whether the bundled metadata.yaml entry is a symbolic link, letting an authenticated user with image-import rights supply a crafted archive whose symlinked metadata.yaml resolves to sensitive host paths. Rated CVSS 9.9 with a scope change (S:C), successful exploitation crosses the container/management boundary to read or overwrite files as the LXD daemon (typically root) on the host. There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV; details are published only in Canonical advisory GHSA-j825-cg34-5fr5.
RemediationAI
Upgrade LXD to the fixed release identified in Canonical advisory GHSA-j825-cg34-5fr5 (https://github.com/canonical/lxd/security/advisories/GHSA-j825-cg34-5fr5); the exact patched version is not present in the supplied data and must be taken from that advisory rather than assumed. Until patched, restrict who can import or upload images - limit image-import permissions to fully trusted operators and disable image acceptance from untrusted projects or remote users, accepting the trade-off that legitimate self-service image workflows are curtailed. Prefer importing only images from trusted, signed sources and, where feasible, unpack or inspect untrusted archives in an isolated sandbox before importing so a symlinked metadata.yaml cannot resolve against production host paths; note this adds operational overhead to image onboarding. Because the daemon typically runs as root, also review filesystem permissions and API access controls to reduce blast radius.
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 is Canonical's system container and virtual-machine manager whose daemon (lxd) generally runs as root and exposes a REST API for image management. Images are distributed as archives (unified or split tarballs) that include a metadata.yaml describing the image; during import/unpack LXD reads and processes this file. The flaw is a CWE-59 link-following (symlink) weakness: LXD treats the metadata.yaml path inside the archive as a regular file without checking st_mode/lstat semantics, so a symlink placed at that path is dereferenced against the host filesystem. Because the daemon runs with high privilege and the unpack step operates on host paths, dereferencing an attacker-controlled symlink yields read or write primitives against arbitrary host locations rather than being confined to the image staging directory.
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 the LXD API (AV:N) with low complexity; requires image-import privilege (PR:L, no UI); crosses container-to-host boundary (S:C) yielding root-level read/write, so C/I/A all High.
Primary rating from Vendor (ubuntu).
CVSS VectorVendor: ubuntu
Lifecycle Timeline
2DescriptionCVE.org
A link following vulnerability in LXD allows an attacker to achieve arbitrary file read and write operations on the host system. When importing or unpacking an image archive, LXD fails to validate whether the metadata.yaml file is a symbolic link. An attacker can exploit this flaw by providing a crafted image archive with a symlinked metadata.yaml file pointing to target file paths on the host system.
Executive ViewAI
Canonical LXD contains a critical container escape vulnerability (CVE-2026-63293, CVSS 9.9) enabling authenticated users with image-import rights to read or overwrite arbitrary files on the host operating system with root-level daemon privileges. This crosses the container boundary to compromise the underlying infrastructure, exposing data stored on affected hosts and enabling lateral movement within the environment.
Restrict image-import authorization to minimal set of named administrators; maintain approved image source whitelist and validate all images through external security scanning before import; disable image-import functionality if not mission-critical; isolate LXD environments on restricted network segments with egress controls; implement host-level file integrity monitoring and real-time alerting for modifications to sensitive paths; monitor LXD daemon logs and system call activity for exploitation indicators.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Improper certificate validation in the HTTPS API listener of Canonical LXD lets an unauthenticated remote attacker prese
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
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
EUVD-2026-57540
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB