CVE-2026-66897
CVE-2026-66897 is a critical-severity vulnerability in Canonical Lxd with a CVSS 3.x base score of 9.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.
Key facts
- Severity: Critical (CVSS 3.x base score 9.9)
- EPSS exploit prediction: 1% (55th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-22
- Affected product: Canonical Lxd
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-66897?
- CVE-2026-66897 has a CVSS 3.x base score of 9.9, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-66897 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (55th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-66897?
- CVE-2026-66897 affects Canonical Lxd. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-66897?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2026-66897 published?
- CVE-2026-66897 was published on 2026-08-24 and last updated on 2026-10-24.
References
Affected products (1)
- cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
More vulnerabilities in Canonical Lxd
- CVE-2026-66898 — Critical (CVSS 9.9): A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and…
- CVE-2026-63300 — Critical (CVSS 9.9): An improper validation vulnerability in the instancePostMigration function in lxd/instance_post.go of LXD allows an…
- CVE-2026-63299 — Critical (CVSS 9.9): An authorization bypass vulnerability in LXD allows an authenticated user to bypass project-level disk and volume…
- CVE-2026-63298 — Critical (CVSS 9.9): An improper neutralization of special elements vulnerability in LXD's NVIDIA instance configuration handling allows an…
- CVE-2026-63297 — Critical (CVSS 9.9): An authorization bypass vulnerability in LXD due to a timing flaw during configuration merging allows an authenticated…
- CVE-2026-63296 — Critical (CVSS 9.9): An authorization bypass vulnerability in LXD allows an authenticated attacker to bypass target project restrictions…
All CVEs affecting Canonical Lxd →
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-77312 — Critical (CVSS 10.0): Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.8, the earlier CVE-2026-67429…
- CVE-2026-121351 — Critical (CVSS 10.0): Adobe Connect is affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')…
- CVE-2026-121489 — Critical (CVSS 10.0): Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Juneau. The…
- CVE-2026-122013 — Critical (CVSS 10.0): A vulnerability was detected in Comfast CF-WR632AX 2.6.0.1. Affected by this vulnerability is an unknown functionality…
- CVE-2026-61738 — Critical (CVSS 10.0): SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. Prior to…
- CVE-2026-112690 — Critical (CVSS 10.0): This issue was addressed with improved input validation. This issue is fixed in iOS 26.7.2 and iPadOS 26.7.2, iOS 27.2…