Servers and applications
CVE-2026-135363
Instance copy refresh modifies an existing target without edit permission
- Severity
- Medium 6.1
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 5.21.11, 6.10.3
- Weakness
- Missing authorization (CWE-862)
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Change data · Take it down
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N- Also known as
- GHSA-86fg-v73j-r37j
- Sources
- CVE Program, Project advisories (GitHub)
Description
An authenticated identity that holds the project-level can_create_instances entitlement, but does not hold can_edit on an existing instance, can send POST /1.0/instances with source.type: "copy" and source.refresh: true, naming that existing instance as the target. POST /1.0/instances is gated only by can_create_instances on the project, whereas ordinary PUT, POST and PATCH on /1.0/instances/{name} require can_edit on that specific instance. The copy-refresh path loads the existing target and calls inst.Update(..., UpdateActionUserRefresh) before taking an exclusive lock, and then refreshes its storage volume. There is no target-specific can_edit check anywhere on that path. A create-only identity can therefore overwrite the configuration and root filesystem of an instance it is not allowed to edit.
- lxd/instances.go:35 — POST /1.0/instances uses allowPermission(entity.TypeProject, auth.EntitlementCanCreateInstances).
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-115842Push-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)Medium 5.3 3 Dec 2026
- CVE-2026-141355Container TPM resource manager node can refer to another TPMMedium 5.6 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-135363
- GitHub Advisory Database https://github.com/advisories/GHSA-86fg-v73j-r37j
- github.com https://github.com/canonical/lxd/security/advisories/GHSA-86fg-v73j-r37j