cbcvebase.
CVE-2026-66897
published 2026-08-24

CVE-2026-66897: A path traversal vulnerability in LXD's instance template processing allows an attacker with container edit permissions, or any user launching a crafted image…

PriorityP266critical9.9CVSS 3.1
AVNACLPRLUINSCCHIHAH
EPSS
0.62%
47.1th percentile
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.

Affected

4 ranges
VendorProductVersion rangeFixed in
canonicallxd>= 4.0.0 < 4.0.134.0.13
canonicallxd>= 5.0.0 < 5.0.95.0.9
canonicallxd>= 5.21.0 < 5.21.75.21.7
canonicallxd>= 6.0 < 6.106.10
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.