Root RCE via image backup.yaml symlink (Canonical LXD)

CVE-2026-63294
CRITICAL 9.9

At a glance

Source
NVD
EPSS
EPSS 0.88 % Β· percentile 59 ()
State
PUBLISHED
Published
Updated
Assigner
canonical
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-59 β€” Improper Link Resolution Before File Access

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:Hcanonical
CVSS 3.1CRITICAL 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD Β· security@ubuntu.com (Secondary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
Canonical Β· LXDaffected 4.0.0 < 4.0.12 ; affected 5.0.0 < 5.0.8 ; affected 5.21.0 < 5.21.6 ; affected 6.0 < 6.10

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD