CVE-2026-66897: Instance template path traversal allows arbitrary host file write as root
Canonical · LXD
Vendor fix available · Affected: Canonical LXD · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 54% of scored CVEs
DescriptionCVE.org
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 products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Canonical · LXDfrom 4.0.0 before 4.0.13; from 5.0.0 before 5.0.9; from 5.21.0 before 5.21.7; from 6.0 before 6.10
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- Canonical
- Published
- August 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-66897 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.