Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | LXD | 4.0.0 to before 4.0.12; 5.0.0 to before 5.0.4; 5.21.0 to before 5.21.2; 6.0 to before 6.1 | 4.0.12, 5.0.4, 5.21.2, 6.1 | Patch available | CNA |
- LXD VendorCanonical Affected 4.0.0 to before 4.0.12; 5.0.0 to before 5.0.4; 5.21.0 to before 5.21.2; 6.0 to before 6.1 Fixed in 4.0.12, 5.0.4, 5.21.2, 6.1 Patch available CNA
Remediation
- Fix · CNA LXD (Canonical) Fixed in 4.0.12, 5.0.4, 5.21.2, 6.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-66898
References
More Canonical Lxd vulnerabilities
- TI-2026-22659 Authenticated RCE via unsanitized compression_algorithm CVSS 4.0CRITICAL 9.4
- TI-2026-45146 Cross-project instance move bypasses all project restrictions allowing host command execution CVSS 3.1CRITICAL 9.9
- TI-2026-45143 Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge CVSS 3.1CRITICAL 9.9
- TI-2026-45142 Project restriction bypass via instance migration config override CVSS 3.1CRITICAL 9.9
- TI-2026-45140 Root RCE via image backup.yaml symlink CVSS 3.1CRITICAL 9.9
- TI-2026-45139 Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root CVSS 3.1CRITICAL 9.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences