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.
Affected software
| Software | Affected versions |
|---|---|
LXDServers and applications · cna:canonical|lxd |
|
LXDServers and applications · github:canonical/lxd |
|
About LXD
container manager for system containers
- 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
Vulnerabilities in LXD
- In our list
- 96
- Published in the last 12 months
- 80
- Critical, last 12 months
- 26
- High, last 12 months
- 13
- Known exploited
- 0
- CVE-2026-141355Container TPM resource manager node can refer to another TPMMedium 5.6 3 Dec 2026
- CVE-2026-135363Instance copy refresh modifies an existing target without edit permissionMedium 6.1 3 Dec 2026
- CVE-2026-127156Archive-supplied device node gives an unprivileged container raw access to host block devicesMedium 6.5 1 Dec 2026
- CVE-2026-127155Restricted clients can exhaust LXD memory through unbounded request bodies on upload endpointsHigh 7.1 1 Dec 2026
- CVE-2026-127159Migration peers can force unbounded memory allocation on the receiving daemonHigh 7.1 1 Dec 2026
- CVE-2026-140086lxc image export short-fingerprint symlink traversalHigh 7.5 1 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-115842
- GitHub Advisory Database https://github.com/advisories/GHSA-m976-4gjw-7vhp
- github.com https://github.com/canonical/lxd/security/advisories/GHSA-m976-4gjw-7vhp