← VULNERABILITIES

CVE-2026-115843

lxd: Arbitrary host file write and delete as root via unvalidated snapshot names in custom volume push migration

Medium · 6.5Fix available
CVSS
6.5
EPSS
0.70% (p48)
Published
2026-11-26
Age
2d old
Modified
2026-11-27
Product
Canonical LXD

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

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.

Fixed in

4.0.16 · 5.0.12 · 5.21.10 · 6.10.2

Affected packages

EcosystemPackageRangeFixed
vendorlxd>=4.0, <4.0.164.0.16
vendorlxd>=4.0, <5.0.125.0.12
vendorlxd>=4.0, <5.21.105.21.10
vendorlxd>=4.0, <6.10.26.10.2

Sources

  • NVD · first seen 2d ago · NVD terms of use
  • CVE List · first seen 2d ago · CVE Terms of Use

References

JSON