lxd: Arbitrary host file write and delete as root via unvalidated snapshot names in custom volume push migration
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CanonicalLXD |
≥ 4.0, < 4.0.16→ 4.0.16 ≥ 4.0, < 5.0.12→ 5.0.12 ≥ 4.0, < 5.21.10→ 5.21.10 ≥ 4.0, < 6.10.2→ 6.10.2 |
4.0.16 5.0.12 5.21.10 6.10.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115843 lxd, incus No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-115843 lxd No fixed version in this record
Original description The description as published by the source.
In LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2, an improper limitation of a pathname to a restricted directory vulnerability allows an authenticated client restricted to a single project to write and delete files at arbitrary host filesystem paths as root.
When a custom storage volume is pushed to a LXD daemon, the snapshot names supplied by the migration peer are never validated and are used to build the filesystem path of each received snapshot. This allows an attacker to place attacker-controlled files into any host directory as root, gaining root-level code execution on the host, and to recursively delete an attacker-chosen path.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com