External risk intelligence

LXD Path Traversal Vulnerability in Backup Operations Allows File Access and Overwriting

CVE advisorySeverity: CRITICAL (CVSS 9.9)

CVE-2026-66898

LXD is a system container manager typically restricted to internal infrastructure or administrative environments. Backup import and restore operations are internal administrative tasks performed by privileged users, not public-facing services exposed to the internet.

Path Traversal

Halo Surface Signal: 2 out of 5 — less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A path traversal vulnerability exists in LXD, a system container manager. This issue could allow an attacker to gain unauthorized access to or overwrite files outside of intended directories by manipulating file paths during backup import and restore operations. The main concern is confirming relevance and exposure within your LXD environment.

  • Manipulated paths in backups can expose sensitive files.
  • Understand LXD's role in your containerized infrastructure.
  • Verify if LXD backups are used and how they are managed.

Attack Path

How an attacker could exploit the issue

An attacker with some level of access to LXD could trick the system into overwriting or accessing sensitive files. This happens when a specially crafted backup file is imported, as LXD doesn't properly check the names of files within the backup, allowing the attacker to specify paths outside the intended backup location. Successful exploitation could lead to significant compromise of the system's confidentiality, integrity, and availability.

  • Requires authenticated user access.
  • Triggered by importing a malicious backup archive.
  • Risk of arbitrary file access or overwriting.

Live Threat

Current exploitation, exposure, and threat context

A path traversal vulnerability in LXD could allow an attacker with low-level access to manipulate file system paths during backup import and restore operations, potentially enabling unauthorized file access or overwriting. This could occur when importing or restoring a crafted backup archive with malicious names containing path traversal sequences, when supported by the advisory.

  • System files and configurations.
  • Malicious archive import.
  • Unauthorized file access or modification.

Operational Fix

Recommended remediation, mitigation, and detection steps

The LXD team, in coordination with platform or infrastructure owners, should lead the response to this vulnerability. The first practical step involves identifying all LXD instances, assessing their exposure and criticality, and confirming the responsible owner for each. Subsequently, a risk-based remediation plan can be developed, potentially including vendor coordination if applicable.

  • LXD platform owners should lead remediation.
  • Verify LXD instance exposure and criticality first.
  • Plan and coordinate risk-based remediation actions.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is LXD and what is it used for?

LXD is a next-generation system container manager that provides a user-friendly experience for running full Linux systems in containers. It is widely used in data centers and cloud environments to create isolated, lightweight virtualized environments, acting as a bridge between traditional virtual machines and standard application-level containers.

What does path traversal mean for CVE-2026-66898?

This vulnerability is classified as CWE-22, or Improper Limitation of a Pathname to a Restricted Directory. In simple terms, it means the software fails to properly sanitize input. Because of this, an attacker can use special character sequences—like dots and slashes—in a backup file's metadata to trick LXD into reading or writing files in locations it should not be able to reach.

How is this LXD vulnerability triggered?

The flaw is triggered specifically during the import or restoration of a backup archive. It is not triggered by standard container operations, such as launching, stopping, or managing live containers. The system only becomes vulnerable when it processes a malicious backup file that contains crafted, path-traversing names within its metadata.

Is my infrastructure at risk from this vulnerability?

According to Halo Surface Signal, this vulnerability is considered unlikely to affect most environments. Because LXD is typically used for internal infrastructure or administrative tasks, and backup restoration is a privileged action, it is not common for this functionality to be exposed directly to the public internet.

What should I do if I use LXD in my environment?

Start by identifying all your LXD deployments and determining who is responsible for managing them. Assess which of those systems are critical and how backups are currently handled. You should coordinate with your infrastructure team to prioritize these assets and prepare for applying security updates once they are provided by the vendor.

References