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

- Severity: Critical 9.9 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 42% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-12T20:07:32.889Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- LXD: from 4.0.0 before 4.0.12; from 5.0.0 before 5.0.4; from 5.21.0 before 5.21.2; from 6.0 before 6.1
- canonical lxd: from 4.0.0 before 4.0.12; from 5.0.0 before 5.0.4; from 5.1 before 5.21.2; 6.0

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984> (exploit, mitigation, vdb-entry, vendor-advisory)

## Sources

- CVE List: [CVE-2026-66898](https://www.cve.org/CVERecord?id=CVE-2026-66898), CVE Terms of Use, modified 2026-08-13
- NVD: [CVE-2026-66898](https://nvd.nist.gov/vuln/detail/CVE-2026-66898), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-66898 · Whole record: https://cve.day/CVE-2026-66898.json · Rebuilt by cve.day 2026-11-25T22:59:32.658Z
