Skip to main content
← All vulnerabilities
CVE-2026-66898

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.12, 5.0.4, 5.21.2, 6.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • LXD

    From 4.0.0 · fixed in 4.0.12; From 5.0.0 · fixed in 5.0.4; From 5.21.0 · fixed in 5.21.2; From 6.0 · fixed in 6.1

References 1

GitHub · canonical/lxd