CVE-2026-66898Canonical Lxd Path Traversal
NVDCVSS scored by security@ubuntu.com
Vulnerability 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.
CVSS v3.1 Base Metrics — Score 9.9 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Canonical Lxd >= 4.0.0 and < 4.0.12
- Canonical Lxd >= 5.0.0 and < 5.0.4
- Canonical Lxd >= 5.1 and < 5.21.2
- Canonical Lxd
- Canonical LXD >= 4.0.0 and < 4.0.12
- Canonical LXD >= 5.0.0 and < 5.0.4
- Canonical LXD >= 5.21.0 and < 5.21.2
- Canonical LXD >= 6.0 and < 6.1
- Canonical Lxd 4.0.12
- Canonical Lxd 5.0.4
- Canonical Lxd 5.21.2
- Canonical LXD 4.0.12
- Canonical LXD 5.0.4
- Canonical LXD 5.21.2
- Canonical LXD 6.1
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Canonical Lxd and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Aug 12, 2026Published
- Oct 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Canonical Lxd CVEsYou are reading CVE-2026-66898. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 28, 2026 13:06 UTC