CVE-2026-115843
published medium CVSS 4.0 · 6.5lxd: Arbitrary host file write and delete as root via unvalidated snapshot names in custom volume push migration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | lxdLXD · 4.0 to < 4.0.16 · 4.0 to < 5.0.12 · 4.0 to < 5.21.10 · 4.0 to < 6.10.2 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | LXD | 4.0 to < 4.0.16 (affected · semver)4.0 to < 5.0.12 (affected · semver)4.0 to < 5.21.10 (affected · semver)4.0 to < 6.10.2 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
2- CWE-20 CWE-20 Improper Input Validation
- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
1Provider assertions
1canonical · cna
lxd: Arbitrary host file write and delete as root via unvalidated snapshot names in custom volume push migration
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- da9ac27de38b9346600cca26c20cc2509ee34e367181b7d5998c7288f55a8199
- Ingested
- 26 Nov 2026, 23:24:19 UTC
- Source record
- Official CVE record