Path traversal via Btrfs optimized-backup subvolumes[].path enables root file/dir manipulation in LXD (Canonical LXD)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.53 % · percentile 45 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- canonical
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory
References
- https://github.com/canonical/lxd/security/advisories/GHSA-h85r-gjgx-g2rv
- https://github.com/canonical/lxd-private/pull/87
- https://github.com/canonical/lxd-private/pull/105
- https://github.com/canonical/lxd-private/pull/104
- https://github.com/canonical/lxd-private/pull/103
- https://github.com/canonical/lxd-private/pull/84
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | canonical |
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD · security@ubuntu.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-88257
- GCVE · GCVE-0-2026-85526
Affected products
| Product | Versions |
|---|---|
| Canonical · LXD | affected 4.0.0 < 4.0.14 ; affected 5.0.0 < 5.0.10 ; affected 5.21.0 < 5.21.8 ; affected 6.0 < 6.10 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |