Live threats

All CVEs / Canonical

CVE-2026-85185Canonical LXD

Path traversal in LXD btrfs storage driver allows arbitrary file deletion

Critical 9.6

Priority
58
CVSS 3.1
9.6
EPSS
—
Auth required
Yes
Published
Sep 28, 2026
Updated
Sep 28, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

What happens

LXD versions 4.0.2 and later contain a path traversal vulnerability in the btrfs storage driver. An authenticated client with permission to create instances can delete arbitrary files on the host as root, or on systems with btrfs as root filesystem, place attacker-controlled content at arbitrary host paths, leading to full host compromise.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 4.0.14, 5.0.10, 5.21.8, 6.10

Update LXD to version 4.0.14, 5.0.10, 5.21.8, or 6.10 depending on your support branch.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for LXD.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.