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

Canonical LXD
CVSS
9.6Critical
ExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 28 Sep 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.36%Chance of exploitation activity in the next 30 days, higher than 28% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in4.0.14Also 5.0.10, 5.21.8 and 1 moreCVE List
Published28 Sep 2026Updated 28 Sep 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 4

  • LXDaffected: 4.0.2 before 4.0.14CVE List
  • LXDaffected: 5.0.0 before 5.0.10CVE List
  • LXDaffected: 5.21.0 before 5.21.8CVE List
  • LXDaffected: 6.0 before 6.10CVE List

References 1