github.com/canonical/lxd · LXD has project restriction bypass for custom volume copy across projects
Affects github.com/canonical/lxdSource GCVE Database
CVSS 7.7 High : upgrade to 0.0.0-20260630083100-c5184be310b1 soon.
Data as of 6 Nov 2026, 20:27 UTC
- Patch
- Available – fixed in 0.0.0-20260630083100-c5184be310b1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NWhat to do
Upgrade github.com/canonical/lxd to 0.0.0-20260630083100-c5184be310b1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/canonical/lxd | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in LXD version 0.0.0-20260630083100-c5184be310b1 that fixes this authorization bypass. Users should upgrade to this fixed version or later to remediate the vulnerability. Until patched, restrict access to trusted users only and monitor for unauthorized volume copying attempts. No vendor advisory states that no action is required or that it is already mitigated, so upgrading is recommended.
Description
LXD contains a vulnerability where missing authorization checks allow an attacker to copy a custom storage volume from a project they do not have access to into a project they control. This occurs because the source project field is attacker-controlled and not properly permission-checked before copying. Exploitation can lead to unauthorized access to secrets stored in custom volumes. A proof-of-concept script demonstrates how an attacker with valid credentials but restricted project access can copy volumes across projects on the same server.
References
- github.com/canonical/lxd/security/advisories/GHSA-7mr3-28h5-m5vx (opens in a new tab)
- github.com/lxc/incus/security/advisories/GHSA-64f3-v33m-w89f (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-55621 (opens in a new tab)
- github.com/canonical/lxd/commit/8a4ed50ae855639d76021ba4bf26a50d7f2288fd (opens in a new tab)
- github.com/canonical/lxd/commit/e2635a26957737ec4a77dc28dd7b84bd380881d6 (opens in a new tab)
- github.com/canonical/lxd/commit/eec1cf9504c18ad7c3c36ae0b62d21c05c25702c (opens in a new tab)
- github.com/canonical/lxd (opens in a new tab)
- github.com/canonical/lxd/releases/tag/lxd-5.0.7 (opens in a new tab)
- github.com/canonical/lxd/releases/tag/lxd-5.21.5 (opens in a new tab)
- github.com/canonical/lxd/releases/tag/lxd-6.8 (opens in a new tab)