CVE-2026-115843
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-115843 NameCVE-2026-115843 DescriptionIn 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…
CVE-2026-115843
| Name | CVE-2026-115843 |
| Description | 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 (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| lxd (PTS) | bookworm, bookworm (security) | 5.0.2-5+deb12u6 | vulnerable |
| trixie (security), trixie | 5.0.2+git20231211.1364ae4-9+deb13u7 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| lxd | source | bookworm | (unfixed) | end-of-life | ||
| lxd | source | (unstable) | (unfixed) |
Notes
[bookworm] - lxd <end-of-life> (EOL in bookworm LTS)
https://github.com/canonical/lxd/security/advisories/GHSA-hfwr-h8hx-pw2g
Apply commands
[bookworm] - lxd <end-of-life> (EOL in bookworm LTS)https://github.com/canonical/lxd/security/advisories/GHSA-hfwr-h8hx-pw2g
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | lxd incus |
Affected | — |
| sid | incus |
Fixed | 7.0.2-4 |
| forky | incus |
Affected | — |
| bookworm | lxd |
Affected | — |
References
CWEs
CWE-20 CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.