CVE-2026-66898Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE
Updated under an hour ago ()
Does this affect you?
It affects Canonical LXD. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 9.9 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weakness (CWE)
- CWE-22
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- canonical
- NVD analysis
- Analyzed
- Record last updated
- Aug 13, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Canonical LXD canonical:lxd (from the name) | 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 | CNA record |
canonical lxd 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 | NVD |
References
- https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984vdb-entry, vendor-advisory, exploit, mitigation
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.