CVE-2026-85185
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.
How to fix
- Canonical LXD4.0.14, 5.0.10, 5.21.8, 6.10 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Canonical LXD | 4.0.2 ≤ v < 4.0.14, 5.0.0 ≤ v < 5.0.10, 5.21.0 ≤ v < 5.21.8, 6.0 ≤ v < 6.10 | 4.0.14, 5.0.10, 5.21.8, 6.10 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.