CVE-2026-66898

published 12 Aug 2026 · updated 13 Aug 2026

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

9.9CriticalCVSS 9.9EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 4.0.12, 5.0.4, 5.21.2 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Canonical>=4.0.0 <4.0.12, >=5.0.0 <5.0.4, >=5.21.0 <5.21.2, >=6.0 <6.14.0.12, 5.0.4, 5.21.2, 6.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-66898 severity on Zeptric[![CVE-2026-66898](https://zeptric.io/badge/cve/CVE-2026-66898.svg)](https://zeptric.io/cve/CVE-2026-66898)