Skip to main content
← All vulnerabilities
CVE-2026-85185GHSA-27Q7-QWHM-C34P

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

Published
Last modified
Status
published
Known exploitation
Not listed in CISA KEV
Fix
Fixed in 4.0.14, 5.0.10, 5.21.8, 6.10
Public exploit
None on Exploit-DB
CISA SSVC
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial
?

Decision points from CISA's Vulnrichment, assessed (SSVC 2.0.3).

SSVC documentation

Summary

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.

Affected versions

  • LXD

    From 4.0.2 · fixed in 4.0.14; From 5.0.0 · fixed in 5.0.10; From 5.21.0 · fixed in 5.21.8; From 6.0 · fixed in 6.10

References 1

GitHub · canonical/lxd