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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Canonical | LXD | 4.0.0 – < 4.0.14, 5.0.0 – < 5.0.10, 5.21.0 – < 5.21.8, 6.0 – < 6.10 | 4.0.14 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | incus | 7.0.1-5 | — |
| Debian 13 | incus | 6.0.4-2+deb13u1 | — |
| Debian 13 | lxd | No fix yet | — |
| Debian 12 | lxd | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | incus | No fix yet | — |
| Ubuntu 20.04 LTS | lxd | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | incus | No fix yet | — |
| Ubuntu Pro 24.04 LTS | incus | No fix yet | — |
| Ubuntu Pro 18.04 LTS | lxd | No fix yet | — |
| Ubuntu Pro 16.04 LTS | lxd | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | incus | 7.5.1-1.1 | openSUSE-SU-2026:11983-1 |
Advisories 1
- openSUSE-SU-2026:11983-1 incus-7.5.1-1.1 on GA media SUSE / openSUSE Security Updates · Oct 5, 2026
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