Skip to main content
CVE-2026-66897VulnerabilityPublished Updated

LXD's instance template processing · Path Traversal Vulnerability

Affects lxdSource GCVE Database

0
Compare
Authoritative record:CVE-2026-66897· Critical 9.9

Not known to be exploited · CVSS 9.9 Critical.

Data as of 24 Nov 2026, 20:56 UTC

CVSS 3.1 base score
9.9Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 20.04 LTSlxdpkg:deb/ubuntu/lxd?arch=source&distro=focalOther threatsAffected
  • 1:0.7 – 1:0.10
4 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSlxdpkg:deb/ubuntu/lxd?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 2.18-0ubuntu6 – 3.0.3-0ubuntu1~18.04.2+esm3
23 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSlxdpkg:deb/ubuntu/lxd?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • 0.20-0ubuntu4 – 2.0.11-0ubuntu1~16.04.4+esm3
76 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…