CVE-2026-85185

Path traversal in LXD btrfs storage driver allows arbitrary file deletion and write on host as root

State
Published
Severity
9.6 Critical
Published
Sep 28, 2026
Updated
Sep 28, 2026
Reserved
Sep 3, 2026

Read the record on cve.org

Description

Path traversal in the btrfs storage driver in Canonical LXD versions 4.0.2 and later (fixed in 4.0.14, 5.0.10, 5.21.8 and 6.10) on Linux allows an authenticated client with permission to create instances in a project to delete arbitrary files on the host as root. On hosts whose root filesystem is btrfs, the client can also place attacker-controlled content at arbitrary host paths, leading to full host compromise. The client does this with a crafted subvolume path containing ../ sequences, sent in either of two ways: in the optimized_header.yaml of an optimized btrfs backup, or in the btrfs migration header sent by a malicious migration source.

Scores

CVSSScoreVectorSource
3.19.6 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:Hcanonical

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
LXDCanonical
  • 4.0.2 to before 4.0.14Affected
  • 5.0.0 to before 5.0.10Affected
  • 5.21.0 to before 5.21.8Affected
  • 6.0 to before 6.10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.