All vulnerabilities

Servers and applications

CVE-2026-115843

Push-mode storage-volume migration trusts the peer's snapshot names, letting a project-restricted user create a volume snapshot at an arbitrary filesystem path as root (the migration receive path is the one place snapshot names are never validated — an incomplete fix alongside the `index.yaml` and btrfs-metadata traversals)

Severity
Medium 6.5
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
4.0.16, 5.0.12, 5.21.10, 6.10.2
Exploit chance
0.7% in the next 30 daysHigher than 48% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Improper input validation (CWE-20)Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
CVSS vector
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
Also known as
GHSA-hfwr-h8hx-pw2g
Sources
CVE Program, Project advisories (GitHub)

Description

A client that pushes a custom storage volume to an LXD daemon supplies the list of snapshot names in the protobuf MigrationHeader it sends. The receiving daemon treats that list as authoritative and never validates it: not in the API handler, not in CreateCustomVolumeFromMigration(), not in the database layer, and not in the generic VFS receive loop. The name is later turned into a filesystem path by Volume.MountPath().

Every other path that accepts a snapshot name from an untrusted source validates it first. On lxd-main the asymmetry is explicit and provable by line number:

The consequence on lxd-main depends on the storage driver, because each driver's CreateVolumeSnapshot() is the last line of defence and only two of the ten fail to call the name-validating EnsureMountPath():

and the btrfs case is not even limited to btrfs send: the driver dispatches MigrationFSType_RSYNC straight to the generic VFS code (driver_btrfs_volumes.go:561-564) before it ever reads and validates the…

From canonical/lxd's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
LXDServers and applications · cna:canonical|lxd
  • From 4.0 before 4.0.16
  • From 4.0 before 5.0.12
  • From 4.0 before 5.21.10
  • From 4.0 before 6.10.2
LXDServers and applications · github:canonical/lxd
  • From 4.0 before 4.0.16

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 4 vulnerable
  • 1 fixed
PackageDebian releaseStatus
incussidunstableFixed in 7.0.2-4
14forkytestingVulnerableNo fix yet.
13trixiestableVulnerableNo fix yet.
lxd13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo longer supported. Debian: EOL in bookworm LTS

From Debian's security tracker for CVE-2026-115843 , read in the last 12 hours.

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,861GitHub, 29 Nov 2026
Forks
1,080GitHub, 29 Nov 2026
Latest release
lxd-6.10.2GitHub, 29 Nov 2026
Released
26 Nov 2026GitHub
Developer
Stéphane GraberWikidata
License
AGPL-3.0GitHub
Written in
GoWikidata
First released
4 Nov 2014Wikidata
First published on GitHub
4 Nov 2014GitHub

References