Skip to content
CVE PROGRAM SOURCE RECORD9.9 Critical

CVE-2026-66898

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Canonical LXD

Default version status: unaffected

  • 4.0.0 to < 4.0.12affected
  • 5.0.0 to < 5.0.4affected
  • 5.21.0 to < 5.21.2affected
  • 6.0 to < 6.1affected

References