Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-115843: medium-severity vulnerability (CVSS 6.5) in Canonical LXD.
What happened
Original description from 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.
Why it matters
Medium severity, CVSS 6.5.
Affected products and versions
Canonical LXD >= 4.0, < 4.0.16; Canonical LXD >= 4.0, < 5.0.12; Canonical LXD >= 4.0, < 5.21.10; Canonical LXD >= 4.0, < 6.10.2
| Product | Versions | Fixed in |
|---|---|---|
| Canonical LXD | >= 4.0, < 4.0.16 | — |
| Canonical LXD | >= 4.0, < 5.0.12 | — |
| Canonical LXD | >= 4.0, < 5.21.10 | — |
| Canonical LXD | >= 4.0, < 6.10.2 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
Weaknesses (CWE): CWE-20, CWE-22
Relevant change history
Published
Preliminary advisory published.