Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root (Canonical LXD)

CVE-2026-63293
CRITICAL 9.9

At a glance

Source
NVD
EPSS
EPSS 0.59 % · percentile 48 ()
State
PUBLISHED
Published
Updated
Assigner
canonical
NVD status
Analyzed

Description

A link following vulnerability in LXD allows an attacker to achieve arbitrary file read and write operations on the host system. When importing or unpacking an image archive, LXD fails to validate whether the metadata.yaml file is a symbolic link. An attacker can exploit this flaw by providing a crafted image archive with a symlinked metadata.yaml file pointing to target file paths on the host system.

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