Description
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.
Published: 2026-08-12
Score: 9.9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in LXD allows an attacker to read or modify any file on the host system by manipulating the metadata.yaml file in an image archive. The system fails to check whether metadata.yaml is a symbolic link, enabling a crafted symlink to point to arbitrary host paths. This leads to privilege escalation, allowing the attacker to compromise confidentiality, integrity, and availability of the host. The weakness corresponds to CWE-59.

Affected Systems

Canonical LXD is affected when the installed version is earlier than 4.0.12, 5.0.8, 5.12.6, or 6.10. All prior releases that do not address the metadata.yaml symlink check are vulnerable.

Risk and Exploitability

The CVSS score of 9.9 marks this issue as critical. Although the EPSS score is not available, the lack of a listing in CISA KEV suggests no current exploitation in the wild, but the severity remains high. The attack vector requires the ability to import or unpack an image archive into LXD, which can be performed by any user who has write access to LXD or by an attacker who can influence image content. Once the crafted image is processed, the attacker gains full host access as root. The vulnerability can be exploited with simple crafted image archives and does not require additional prerequisites beyond LXD image import privileges.

Generated by OpenCVE AI on August 12, 2026 at 23:11 UTC.

Remediation

Vendor Solution

Upgrade to LXD version 4.0.12 or later, 5.0.8 or later, or 5.12.6 or later, or 6.10 or later.


OpenCVE Recommended Actions

  • Upgrade to LXD version 4.0.12 or later, 5.0.8 or later, 5.12.6 or later, or 6.10 or later.
  • Restrict image upload privileges by configuring LXD to allow only trusted users to import images, or disable image import for untrusted environments.
  • Enable LXD audit logging for image imports and review logs for abnormal metadata.yaml symlink usage or unexpected file system access attempts.

Generated by OpenCVE AI on August 12, 2026 at 23:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical lxd
Vendors & Products Canonical
Canonical lxd

Wed, 12 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-08-13T12:40:35.947Z

Reserved: 2026-07-16T09:49:29.911Z

Link: CVE-2026-63293

cve-icon Vulnrichment

Updated: 2026-08-13T12:39:54.249Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-12T20:17:47.060

Modified: 2026-08-28T15:24:38.600

Link: CVE-2026-63293

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T23:15:03Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')