Canonical LXD
Path traversal via Btrfs optimized-backup subvolumes[].path enables root file/dir manipulation in LXD
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.9critical · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Canonical LXD
- >= 4.0.0, < 4.0.14
- >= 5.0.0, < 5.0.10
- >= 5.21.0, < 5.21.8
- >= 6.0, < 6.10
Fixed in 4.0.14, 5.0.10, 5.21.8, 6.10
Mitigation
Upgrade to LXD versions 4.0.14, 5.0.10, 5.21.8, 6.10 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.