# CVE-2026-66898: Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 4.0.12, 5.0.4, 5.21.2, 6.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-12 · Modified: 2026-08-13
- Aliases: UBUNTU-CVE-2026-66898, DEBIAN-CVE-2026-66898
- Record: https://cvemate.com/vulnerability/CVE-2026-66898 · JSON: https://cvemate.com/vulnerability/CVE-2026-66898/json

## Description

```text
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.
```

## Signals

- CVSS: 9.9 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.441%, percentile 40.063%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- canonical lxd: ≥ 5.21.0, \< 5.21.2 \| ≥ 6.0, \< 6.1 \| ≥ 4.0.0, \< 4.0.12 \| ≥ 5.0.0, \< 5.0.4 \| ≥ 5.1, \< 5.21.2 \| 6.0
- debian lxd (Debian): All versions (No fix recorded)
- ubuntu lxd (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984>
- <https://ubuntu.com/security/CVE-2026-66898>
- <https://www.cve.org/CVERecord?id=CVE-2026-66898>
- <https://security-tracker.debian.org/tracker/CVE-2026-66898>

---

Data as of 2026-12-05T14:01:37.676Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
