CVE-2026-66898
Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE
CVSS Score
9.9
EPSS Score
0.0%
EPSS Percentile
0th
A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations. When importing or restoring a backup archive, LXD fails to validate instance and storage volume names contained within the archive metadata. An attacker can exploit this flaw by supplying a crafted backup archive with malicious instance or volume names containing path traversal sequences, potentially allowing file access or overwriting outside the designated restore directory.
| CWE | CWE-22 |
| Vendor | canonical |
| Product | lxd |
| Ecosystems | |
| Industries | Technology |
| Published | Aug 12, 2026 |
Stay Ahead of the Next One
Get instant alerts for canonical lxd
Be the first to know when new critical vulnerabilities affecting canonical lxd are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
Canonical / LXD
4.0.0 < 4.0.12 5.0.0 < 5.0.4 5.21.0 < 5.21.2 6.0 < 6.1