CVE-2026-66898
9.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Canonical | LXD | 4.0.0 < 4.0.12 | affected |
| Canonical | LXD | 5.0.0 < 5.0.4 | affected |
| Canonical | LXD | 5.21.0 < 5.21.2 | affected |
| Canonical | LXD | 6.0 < 6.1 | affected |
Weaknesses
- CWE-22: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.