9.9

CVE-2026-66898

Exploit

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Canonical ≫ Lxd Version >= 4.0.0 < 4.0.12
Canonical ≫ Lxd Version >= 5.0.0 < 5.0.4
Canonical ≫ Lxd Version >= 5.1 < 5.21.2
Canonical ≫ Lxd Version 6.0
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.34% 0.273
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Canonical 9.9 3.1 6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984
Vendor Advisory
Exploit
Mitigation