All vulnerabilities

Servers and applications

CVE-2026-115842

Push-mode instance migration lets a user restricted to a project with `restricted.snapshots=block` create snapshots in that project (the `limits.AllowSnapshotCreation` check is missing on the migration receive path — an incomplete fix for the cross-project restriction bypass)

Severity
Medium 5.3
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
6.10.3
Weakness
Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data · Slow it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Also known as
GHSA-m976-4gjw-7vhp
Sources
CVE Program, Project advisories (GitHub)

Description

A restricted project can forbid snapshot creation with restricted.snapshots=block. That control is enforced by projects/limits.AllowSnapshotCreation(), which is called from six places in the tree. None of them is on the instance-migration receive path.

When a daemon accepts a push-mode instance migration, it creates the instance record and then, for every snapshot named in the migration header, creates a snapshot instance record with instance.CreateInternal(). That code (instancePostMigration, lxd/instance/drivers/driver_lxc.go:5288-5335 for containers, driver_qemu.go:7955-8000 for VMs) never calls AllowSnapshotCreation(). The instance-level restrictions are checked on that path — pushing an instance that itself carries raw.lxc into a project with restricted.containers.lowlevel=block is correctly rejected with "Failed checking if instance creation allowed: Use of low-level config ... is forbidden" — but the snapshot restriction is not.

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

Affected software

SoftwareAffected versions
LXDServers and applications · cna:canonical|lxd
  • From 5.0 before 6.10.3
LXDServers and applications · github:canonical/lxd
  • From 5.0 before 6.10.3

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