Description
A link following vulnerability in LXD allows an attacker to achieve root command execution on the host system. During the import or unpacking of crafted image or backup archives, LXD fails to properly validate and confine the backup.yaml file when it exists as a symbolic link. An attacker can exploit this flaw by providing a malicious archive with a symlinked backup.yaml file, causing LXD to process unconfined configuration metadata and execute arbitrary commands with root privileges.
Published: 2026-08-12
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During the import or unpacking of a crafted image or backup archive, LXD fails to validate the backup.yaml file when it is a symbolic link. The flaw, identified as CWE‑59, allows an attacker to supply a malicious archive that contains a symlinked backup.yaml, causing LXD to process unconfined configuration metadata and execute arbitrary commands with root privileges on the host. The result is a full root privilege escalation without any additional authentication or elevated permissions.

Affected Systems

Canonical LXD is affected. Any release prior to LXD 4.0.12, LXD 5.0.8, LXD 5.12.6, or LXD 6.10 is vulnerable. Updating to the respective cited versions or later protects against this attack.

Risk and Exploitability

The CVSS score of 9.9 indicates critical severity. EPSS data is unavailable, so the probability of exploitation cannot be quantified, but the flaw permits immediate elevation to root via an import operation that may be available to unprivileged users or through the LXD API. It is not listed in the CISA KEV catalog, yet its impact and ease of exploitation make it a high‑risk vulnerability. An attacker can locally or remotely inject a malicious archive, trigger the import, and gain unrestricted control of the underlying host system.

Generated by OpenCVE AI on August 12, 2026 at 23:12 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 Canonical LXD to version 4.0.12 or later, 5.0.8 or later, 5.12.6 or later, or 6.10 or later, which removes the symlink validation flaw.
  • Restrict access to the LXD API and command‑line tooling so only trusted administrators can perform backup imports; disable or limit import capabilities for untrusted users if possible.
  • Monitor LXD logs and system activity for abnormal backup import events, and configure alerts to detect attempts to import malicious archives or any unexpected file‑system changes during import operations.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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 root command execution on the host system. During the import or unpacking of crafted image or backup archives, LXD fails to properly validate and confine the backup.yaml file when it exists as a symbolic link. An attacker can exploit this flaw by providing a malicious archive with a symlinked backup.yaml file, causing LXD to process unconfined configuration metadata and execute arbitrary commands with root privileges.
Title Root RCE via image backup.yaml symlink
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-12T19:57:07.898Z

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

Link: CVE-2026-63294

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-12T20:17:47.187

Link: CVE-2026-63294

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