CVE-2026-63293

Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root

Published Aug 12, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Canonical
Canonical lxd
Vendors & Products Canonical
Canonical lxd
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'}

Weaknesses
  • CWE-59

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

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Aug 13, 2026, 12:40 PM
Reserved
Jul 16, 2026, 9:49 AM
Status
Analyzed
Published
Aug 12, 2026, 8:17 PM
Modified
Oct 24, 2026, 4:10 PM