WhatCyber / Vulnerabilities / CVE-2026-66897
CVE-2026-66897: canonical
CRITICAL severity
CVE-2026-66897 affects canonical. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Its CVSS base score is 9.9 (critical). The EPSS model puts the chance of exploitation in the next 30 days at 0.7%.
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.
Key facts
- CVSS v3
- 9.9 (CRITICAL)
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Published
- 2026-08-24
- Last modified
- 2026-10-24
- NVD status
- Analyzed
Timeline
- August 24, 2026: Published in the NVD
Weaknesses (CWE)
Affected products
- canonical lxd