CVE-2026-66898
published critical CVSS 3.1 · 9.9Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | LXD4.0.0 to < 4.0.12 · 5.0.0 to < 5.0.4 · 5.21.0 to < 5.21.2 · 6.0 to < 6.1 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
| SUSE / openSUSE | openSUSE-Leap-16.0 | lxdaarch64 | Advisory build | 5.21.6-bp160.1.1 | OPENSUSE-SU-2026:21788-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | lxdppc64le | Advisory build | 5.21.6-bp160.1.1 | OPENSUSE-SU-2026:21788-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | lxds390x | Advisory build | 5.21.6-bp160.1.1 | OPENSUSE-SU-2026:21788-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | lxdx86_64 | Advisory build | 5.21.6-bp160.1.1 | OPENSUSE-SU-2026:21788-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | lxd-bash-completionnoarch | Advisory build | 5.21.6-bp160.1.1 | OPENSUSE-SU-2026:21788-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.9 / 10
- Severity
- critical
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | LXD | 4.0.0 to < 4.0.12 (affected · semver)5.0.0 to < 5.0.4 (affected · semver)5.21.0 to < 5.21.2 (affected · semver)6.0 to < 6.1 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
1Provider assertions
2canonical · cna
Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 73bff793dcb895958971587bf8a5f37d4b7b621af003b64003a35e566edb3423
- Ingested
- 23 Sep 2026, 09:26:54 UTC
- Source record
- Official CVE record