CVE-2026-122225

lxd: Symbolic link following in imported VM backup config drives

Published Nov 26, 2026 CVSS 4.0 · 6.4 Medium EPSS n/a KEV · Not listed
Description
Symbolic link following in imported VM backup config drive preparation in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with project-scoped permissions to disclose sensitive host files, including LXD server and cluster keys, and overwrite host files as root via importing and starting a VM backup with a symlinked config directory.

Analysis

AI-generated

Technical impact

The vulnerability is a symbolic link following flaw in the handling of VM backup configuration directories during import. An authenticated user who has project‑scoped permissions can create a symlink within the backup config that points to arbitrary host files. When the backup is imported and the VM starts, the host writes through the symlink, allowing the attacker to read sensitive files such as the LXD server private keys and, with sufficient privileges, overwrite host files as root. This is an instance of CWE‑61, which concerns arbitrary file read or write.

Affected Systems

The flaw affects Canonical LXD versions prior to 4.0.16, 5.0.12, 5.21.10, and 6.10.2. Any LXD deployment running one of these releases is vulnerable, regardless of whether it operates in single‑host mode or as part of a cluster.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity; the EPSS score is not available and it is not listed in the CISA KEV catalog. Based on the description, the attack vector requires an authenticated user with project‑scoped permissions and involves importing a VM backup that contains a symlinked configuration. If exploited, the attacker could exfiltrate confidential server and cluster keys or corrupt critical host files, potentially leading to a full compromise. The risk is moderate but real, especially in environments where users are granted broad project permissions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Canonical LXD to at least 4.0.16, 5.0.12, 5.21.10, or 6.10.2 and newer releases.
  • Avoid using symlinked directories in VM backup configuration files; only use trusted, non‑symlinked paths.
  • Reduce the project‑scoped permissions granted to users; apply least privilege and restrict access to backup import functionality.

Generated by OpenCVE AI on November 27, 2026 at 00:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Symbolic link following in imported VM backup config drive preparation in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with project-scoped permissions to disclose sensitive host files, including LXD server and cluster keys, and overwrite host files as root via importing and starting a VM backup with a symlinked config directory.
Title lxd: Symbolic link following in imported VM backup config drives
Weaknesses CWE-61
References
Metrics cvssV4_0

{'score': 6.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-61

    UNIX Symbolic Link (Symlink) Following

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Nov 26, 2026, 11:23 PM
Reserved
Nov 4, 2026, 8:28 PM
Status
Deferred
Published
Nov 27, 2026, 12:16 AM
Modified
Nov 27, 2026, 12:16 AM