CVE-2026-66898

Critical

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.

SeverityCritical
CVSS9.9
Exploit probability—
ProductCanonical Lxd
PublishedAug 12, 2026
First seenAug 12, 2026

How to fix

Update
  • canonical lxd4.0.12, 5.0.4, 5.21.2 or later

Affected products

ProductAffected versionsFixed in
canonical lxd4.0.0 ≤ v < 4.0.12, 5.0.0 ≤ v < 5.0.4, 5.1 ≤ v < 5.21.2, 6.04.0.12, 5.0.4, 5.21.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.