Vulnerability · Published Sep 28, 2026 · Assigned by canonical
CVE-2026-85526Path traversal via Btrfs optimized-backup subvolumes[].path enables root file/dir manipulation in LXD
Critical 9.9
In plain English
A critical-severity path traversal in LXD from Canonical. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Path traversal in the Btrfs storage driver (unpackVolume) in Canonical LXD on Linux allows an authenticated user with instance creation privileges to delete or replace arbitrary files and directories on the host filesystem as root via a crafted subvolumes[].path entry in backup/optimized_header.yaml during a btrfs optimized backup import.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | incus | 6.0.4-2+deb13u1 | DEBIAN-CVE-2026-85526 |
| Debian:14 | incus | 7.0.1-5 | DEBIAN-CVE-2026-85526 |
| Debian:12 | lxd | no fix listed | DEBIAN-CVE-2026-85526 |
| Debian:13 | lxd | no fix listed | DEBIAN-CVE-2026-85526 |
| Ubuntu:26.10 | incus | no fix listed | UBUNTU-CVE-2026-85526 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/canonical/lxd/security/advisories/GHSA-h85r-gjgx-g2rv vendor-advisory, issue-tracking
- https://github.com/canonical/lxd-private/pull/87 patch
- https://github.com/canonical/lxd-private/pull/105 patch
- https://github.com/canonical/lxd-private/pull/104 patch
- https://github.com/canonical/lxd-private/pull/103 patch
- https://github.com/canonical/lxd-private/pull/84 patch