boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Sunday, October 4, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2026-66897

Canonical LXD — Instance template path traversal allows arbitrary host file write as root
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   N   L   L   N  C  H  H  H    9.9   .0072   52.2     —
AFFECTED
  Product  Versions  Fixed
  LXD      4.0.0 –   —
TIMELINE
  Jul 28  Reserved by canonical
  Aug 24  Published (CNA: canonical)
  Sep 11  EXPLOIT PUBLISHED — CVE-2026-66897 (Canonical LXD). Public exploit reference added.
CWE-22, CWE-23 · CNA: canonical · CVSS v3.1 · 1 reference · NVD status: Analyzed

Description

A path traversal vulnerability in LXD's instance template processing allows an attacker with container edit permissions, or any user launching a crafted image, to overwrite arbitrary files on the host system as root. When processing target template paths specified in metadata.yaml, LXD validates the path against a confined os.Root directory handle but subsequently opens and creates the file using os.Create with an unconfined string path. This discrepancy between path resolution checks and file creation allows an attacker to escape directory confinement, overwrite root-owned host files, and achieve host root code execution.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
July 28, 2026ReservedReserved by canonical
August 24, 2026PublishedPublished (CNA: canonical)
September 11, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-66897 (Canonical LXD). Public exploit reference added.

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
CanonicalLXD—4.0.0—

Weaknesses

CWE-22 · CWE-23

References (1)

Related

Authoritative record: CVE-2026-66897 at cve.org

Vendors: canonical

Weaknesses: CWE-22 · CWE-23

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-66897 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Sunday, October 4, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.