CRITICALVulnerability
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, 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.
Properties
- severity
- CRITICAL
- score
- 9.9
- epss_score
- 0.00619
- cve_id
- CVE-2026-66897
- signal_observed_at
- 2026-09-11T21:54:12+00:00
- vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- published_at
- 2026-08-24T10:16:39.767
- last_modified
- 2026-09-11T15:28:53.323
- epss_percentile
- 0.47674
Related Entities (5)
ENRICHED_BY (1)
→[Source]FIRST EPSS
AFFECTS_PRODUCT (1)
→[Product]
HAS_WEAKNESS (2)
→[Weakness]Relative Path Traversal
→[Weakness]Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
DESCRIBED_BY (1)
→[Source]NVD
Explore deeper with Ninja Signal's threat intelligence graph