CVE-2026-85185: Path traversal in LXD btrfs storage driver allows arbitrary file deletion and write on host as root

Published Sep 28, 2026
·
Updated

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 optimizedheader.yaml of an optimized btrfs backup, or in the btrfs migration header sent by a malicious migration source.

Affected Software

1 affected component
Canonical LXD>=4.0.2<4.0.14, >=5.0.0<5.0.10, >=5.21.0<5.21.8, >=6.0<6.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Canonical LXD to a version that resolves this vulnerability.

    Fixed in 4.0.14
  2. Upgrade

    Upgrade Canonical LXD to a version that resolves this vulnerability.

    Fixed in 5.0.10
  3. Upgrade

    Upgrade Canonical LXD to a version that resolves this vulnerability.

    Fixed in 5.21.8
  4. Upgrade

    Upgrade Canonical LXD to a version that resolves this vulnerability.

    Fixed in 6.10

Event History

Sep 28, 2026
CVE Published
via MITRE·01:21 PM
Data Sourced
via MITRE·01:21 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this vulnerability?

An authenticated LXD client must have permission to create instances in a project. Exploitation can be performed through a crafted optimized btrfs backup or by acting as a malicious migration source that supplies a crafted btrfs migration header.

2

Are all affected hosts exposed to full host compromise?

No. On affected Linux hosts, the flaw allows arbitrary file deletion on the host as root. Arbitrary placement of attacker-controlled content at host paths, and therefore full host compromise, is specifically described for hosts whose root filesystem is btrfs.

3

Which LXD releases contain fixes?

Fixes are available in LXD 4.0.14, 5.0.10, 5.21.8, and 6.10. The affected versions are described as 4.0.2 and later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203