CVE-2026-66897: Vulnerability in Canonical Lxd
Critical. 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...
CWE-22, CWE-23
- Exploitation
- None confirmed
- Severity
- 9.9 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-22, CWE-23
- Published
- 24 Aug 2026
- Last change
- 24 Oct 2026
Affected products
Affected versions and the first fixed release
- Canonical Lxd Before 4.0.13; From 5.0.0 before 5.0.9; From 5.1 before 5.21.7; From 6.0 through 6.9. Fixed in 4.0.13, 5.0.9, 5.21.7
Advisories
Vendor and security advisories
Related
- Lxd vulnerabilities Recent advisories, watch this product