ZeroHour

CVE-2026-63294

PoC large

Link Following Flaw in Canonical LXD Allows Root Command Execution on Host

CVSS 3.1
9.9 critical
EPSS
1%p67
Published
()
Modified
AI analysis

Canonical LXD contains a link-following vulnerability (CWE-59) in its handling of the backup.yaml file during the import or unpacking of image and backup archives: when backup.yaml inside a submitted archive is a symbolic link, LXD follows it without proper confinement and processes unconfined configuration metadata. An attacker who can import a crafted archive — for example an authenticated LXD user or a tenant permitted to load images — can thereby have arbitrary commands executed with root privileges on the host system, breaking container-to-host isolation (CVSS 3.1: 9.9, scope changed). Any LXD deployment that accepts image or backup imports from less-than-fully-trusted users, particularly multi-tenant installations, is affected. Exploitation has not been confirmed in the wild (not listed in CISA KEV; EPSS ~1% over 30 days), but a public proof-of-concept/advisory is available via Canonical's GitHub security advisory GHSA-fv82-v4fj-mm4m.

What to do: Upgrade LXD to the patched release identified in Canonical's security advisory (GHSA-fv82-v4fj-mm4m) and confirm the running version after updating. Until patched, restrict image/backup import permissions to fully trusted administrators and inspect incoming archives, rejecting any where backup.yaml is a symbolic link. Prioritize multi-tenant or internet-reachable LXD instances, where compromise of a low-privileged user yields full root on the host.

Affected
Canonical LXDAffected and fixed version ranges not specified in the source data; see Canonical's advisory GHSA-fv82-v4fj-mm4m for the patched release
Estimated exposure
large~100k-1M hosts plausibly running LXD (preinstalled with Ubuntu Server and distributed via snap), with directly exposed or multi-tenant instances a smaller… — LXD ships with Ubuntu Server, implying a very large installed base, but the flaw requires a low-privileged principal able to import archives (AV:N/PR:L) and most LXD deployments are single-admin and internal rather than internet-exposed,…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Vendors
canonical
Products
lxd
Weakness
CWE-59
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.