SB20260825137 - Relative Path Traversal in LXD
Published: August 25, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Relative Path Traversal (CVE-ID: CVE-2026-66897)
CWE-ID: CWE-23 - Relative Path Traversal
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to write arbitrary files on the host as root.
The vulnerability exists due to path traversal in instance template handling when processing attacker-controlled template target paths from metadata.yaml. A remote user can supply a specially crafted template path to write arbitrary files on the host as root.
No non-default configuration is needed. The issue can be reached through API metadata updates by a user with can_edit permission on a container, and it can also be reached by launching a crafted image.
Remediation
Install update from vendor's website.