Description
Path traversal in the Btrfs storage driver (unpackVolume) in Canonical LXD on Linux allows an authenticated user with instance creation privileges to delete or replace arbitrary files and directories on the host filesystem as root via a crafted subvolumes[].path entry in backup/optimized_header.yaml during a btrfs optimized backup import.
Published: 2026-09-28
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: Arbitrary host file deletion or replacement as root via path traversal
Action: Patch Now
AI Analysis

Impact

The vulnerability is a path‑traversal flaw in the Btrfs storage driver’s unpackVolume routine. An attacker who can create instances can craft a backup/optimized_header.yaml with malicious subvolumes[].path entries. During import, the invalidated path is used to delete or overwrite arbitrary files or directories on the host filesystem with root privileges. This results in full control over host data, persistence, or denial of service.

Affected Systems

All Canonical LXD releases that include the vulnerable Btrfs driver and that are older than the patched versions listed as 4.0.14, 5.0.10, 5.21.8, or 6.10. The vulnerability affects the Linux host where LXD runs; any container image using the Btrfs storage backend is at risk.

Risk and Exploitability

The CVSS score of 9.9 classifies the issue as critical, while no EPSS data is available and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with instance‑creation rights to perform a backup import. Once the malicious backup is processed, the attacker can manipulate arbitrary host files, effectively escalating privileges or disrupting the host. Given the requirement of local service access, the exposure is limited to environments where such users are present.

Generated by OpenCVE AI on September 28, 2026 at 15:29 UTC.

Remediation

Vendor Solution

Upgrade to LXD versions 4.0.14, 5.0.10, 5.21.8, 6.10 or later.


OpenCVE Recommended Actions

  • Upgrade LXD to one of the patched releases (4.0.14, 5.0.10, 5.21.8, 6.10 or newer) to remove the path‑traversal bug.
  • If an update is not immediately possible, restrict the set of users allowed to import optimized backups and validate any subvolumes[].path values before accepting them.
  • Disable the Btrfs storage driver or remove the ability to perform optimized backup imports from untrusted sources if the feature is not required.
  • Enforce strict least‑privilege policies so that only trusted administrators have instance‑creation and backup‑import privileges.

Generated by OpenCVE AI on September 28, 2026 at 15:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 28 Sep 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical lxd
Vendors & Products Canonical
Canonical lxd

Mon, 28 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 28 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description Path traversal in the Btrfs storage driver (unpackVolume) in Canonical LXD on Linux allows an authenticated user with instance creation privileges to delete or replace arbitrary files and directories on the host filesystem as root via a crafted subvolumes[].path entry in backup/optimized_header.yaml during a btrfs optimized backup import.
Title Path traversal via Btrfs optimized-backup subvolumes[].path enables root file/dir manipulation in LXD
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-09-28T13:53:42.731Z

Reserved: 2026-09-04T08:34:29.842Z

Link: CVE-2026-85526

cve-icon Vulnrichment

Updated: 2026-09-28T13:53:38.667Z

cve-icon NVD

Status : Deferred

Published: 2026-09-28T14:17:20.423

Modified: 2026-09-28T15:12:32.657

Link: CVE-2026-85526

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-28T15:30:02Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')