Path traversal in LXD lets clients write and delete host files
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Canonical LXD before 4.0.16, 5.0.12, 5.21.10 and 6.10.2 is affected. When a custom storage volume is pushed to the daemon, snapshot names supplied by the migration peer are not validated and are used to build host file paths (CWE-22). An authenticated client restricted to a single project can write attacker-controlled files into any host directory as root, which allows root code execution on the host, and can recursively delete an attacker-chosen path.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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 now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | LXD | 4.0 to before 4.0.16; 4.0 to before 5.0.12; 4.0 to before 5.21.10; 4.0 to before 6.10.2 | 4.0.16, 5.0.12, 5.21.10, 6.10.2 | Patch available | CNA |
- LXD VendorCanonical Affected 4.0 to before 4.0.16; 4.0 to before 5.0.12; 4.0 to before 5.21.10; 4.0 to before 6.10.2 Fixed in 4.0.16, 5.0.12, 5.21.10, 6.10.2 Patch available CNA
Remediation
Upgrade Canonical LXD to 4.0.16, 5.0.12, 5.21.10 or 6.10.2, matching the branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA LXD (Canonical) Fixed in 4.0.16, 5.0.12, 5.21.10, 6.10.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Canonical LXD 4.0.16, 5.0.12 and 2 more versions
19 records Highest priority Priority LOW 19 LOW
Other records, highest priority first
- TI-2026-99082 Improper link resolution in Canonical LXD recursive file pullPriority LOW 39
- TI-2026-99085 Canonical LXD resource exposure to wrong sphere in image metadata handlingPriority LOW 29
- TI-2026-99084 Wrong sphere resource exposure in LXD instance file transfer APIPriority LOW 29
Timeline
- 2026-11-26 Threatist record created from CVE-2026-115843
- 2026-11-27 Alias added: GHSA-p57p-g5hg-ffh7
References
More Canonical vulnerabilities
- TI-2020-09349 SaltStack Salt salt-master ClearFuncs allows unauthenticated method calls KEVCVSS 3.1CRITICAL 9.8
- TI-2020-05854 Command injection in OpenSMTPD lets remote users run commands as root KEVCVSS 3.1CRITICAL 9.8
- TI-2020-01431 Netlogon elevation of privilege in Microsoft Windows Server KEVCVSS 3.1CRITICAL 10.0
- TI-2019-12627 Heap-based buffer overflow in Exim allows remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2019-07471 Improper recipient validation in Exim allows remote command execution KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-115843 · CVE Program
- CVE-2026-115843 · NVD
- FIRST EPSS
- GHSA-p57p-g5hg-ffh7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences