Vulnerability details
CVE-2026-66898
Canonical LXD
Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE
CVSS 3.1
9.9Critical
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.9Critical | 3.1 | CVEProject cvelistV5 (CNA) (canonical) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| Canonical | LXD | 4.0.0 ≤ v < 4.0.12 | CVEProject cvelistV5 (CNA) |
| Canonical | LXD | 5.0.0 ≤ v < 5.0.4 | CVEProject cvelistV5 (CNA) |
| Canonical | LXD | 5.21.0 ≤ v < 5.21.2 | CVEProject cvelistV5 (CNA) |
| Canonical | LXD | 6.0 ≤ v < 6.1 | CVEProject cvelistV5 (CNA) |
References and advisories
1- https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984 vdb-entryvendor-advisory
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-08-12
- Last updated
- 2026-08-13
- State
- Published
- Assigner (CNA)
- canonical
Exploit prediction (EPSS)
0.59%
Probability of exploitation in 30 days
48.4%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')