Vulnerability details

CVE-2026-66898

Canonical LXD

Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE

CVSS 3.1
9.9Critical

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

CVSS scores

ScoreVersionSourceVector
9.9Critical 3.1 CVEProject cvelistV5 (CNA) (canonical) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Canonical LXD 4.0.0 ≤ v < 4.0.12 CVEProject cvelistV5 (CNA)
Canonical LXD 5.0.0 ≤ v < 5.0.4 CVEProject cvelistV5 (CNA)
Canonical LXD 5.21.0 ≤ v < 5.21.2 CVEProject cvelistV5 (CNA)
Canonical LXD 6.0 ≤ v < 6.1 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-08-12
Last updated
2026-08-13
State
Published
Assigner (CNA)
canonical

Exploit prediction (EPSS)

0.59%
Probability of exploitation in 30 days
48.4%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
Proof of concept
Technical impact
Total

Weaknesses (CWE)

  • CWE-22
    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')