CVE-2026-127154

lxd: Improper link resolution in image metadata tarball unpacking

Published Nov 26, 2026 CVSS 4.0 · 6.4 Medium EPSS n/a KEV · Not listed
Description
Improper link resolution in image metadata tarball unpacking in Canonical LXD before 5.0.12, 5.21.10, and 6.10.2 allows an authenticated user with a restricted client certificate to write arbitrary host files as root and execute code on the host via a crafted rootfs symlink in an image metadata tarball.

Analysis

AI-generated

Technical impact

The flaw allows an authenticated LXD client using a restricted client certificate to write any file on the host as root and execute code during the extraction of an image metadata tarball. The problem stems from improper link resolution when unpacking the tarball, enabling path traversal (CWE‑59) and invalid file path validation (CWE‑73). Once triggered, the attacker can overwrite critical system resources or introduce malicious binaries, leading to full control of the host machine.

Affected Systems

Canonical LXD versions earlier than 5.0.12, 5.21.10, and 6.10.2 are affected. Any deployment that accepts image uploads from a client with a restricted certificate while running one of these releases can be compromised.

Risk and Exploitability

The CVSS score of 6.4 classifies the vulnerability as moderate severity. EPSS information is unavailable and the vulnerability is not listed in CISA's KEV catalog, so the probability of widespread exploitation is unknown. However, the attack route requires the attacker to have legitimate API access with a restricted client certificate and to supply a crafted image tarball containing a rootfs symlink that points to arbitrary host paths. Successful exploitation would give the attacker root privileges on the host with the ability to modify files and execute code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Canonical LXD to version 5.0.12, 5.21.10, or 6.10.2 or later to apply the fix for improper link resolution.
  • Restrict or revoke client certificates that are allowed to upload images, limiting the ability to introduce malicious tarballs to trusted sources only.
  • Audit the host for image metadata tarballs that contain unnecessary or suspicious symlink entries and remove or correct such files.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Improper link resolution in image metadata tarball unpacking in Canonical LXD before 5.0.12, 5.21.10, and 6.10.2 allows an authenticated user with a restricted client certificate to write arbitrary host files as root and execute code on the host via a crafted rootfs symlink in an image metadata tarball.
Title lxd: Improper link resolution in image metadata tarball unpacking
Weaknesses CWE-59
CWE-73
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:N/SI:H/SA:H'}

Subscriptions

No data.

Weaknesses
  • CWE-59

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

  • CWE-73

    External Control of File Name or Path

Sources

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