github.com/canonical/lxd · LXD vulnerable to a local privilege escalation through custom storage volumes
Affects github.com/canonical/lxdSource GCVE Database
CVSS 8.6 High : upgrade to 0.0.0-20251110144034-698854d0164f soon.
Data as of 13 Nov 2026, 20:10 UTC
- Patch
- Available – fixed in 0.0.0-20251110144034-698854d0164f
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NWhat to do
Upgrade github.com/canonical/lxd to 0.0.0-20251110144034-698854d0164f.
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
Patches are available and should be applied promptly. The fixes adjust permissions on storage pools to prevent exploitation. Until patched versions are deployed, manual permission restrictions can be applied using the provided 'nsenter' commands to restrict access to storage pool directories. These manual changes replicate the permissions enforced by the patches.
Description
A local privilege escalation vulnerability exists in LXD when an unprivileged user has root access to a container with a custom storage volume having the 'security.shifted' property set to true, and also has unprivileged access to the host. This allows such users to create a setuid binary inside the container that can be executed on the host to gain root privileges. Patches are available for multiple LXD series, and manual permission restrictions can mitigate the issue until patched versions are deployed.
References
- github.com/canonical/lxd/security/advisories/GHSA-3g2j-vm47-x4mj (opens in a new tab)
- github.com/lxc/incus/security/advisories/GHSA-56mx-8g9f-5crf (opens in a new tab)
- github.com/lxc/incus/issues/2641 (opens in a new tab)
- github.com/canonical/lxd/pull/16904 (opens in a new tab)
- github.com/canonical/lxd/pull/16922 (opens in a new tab)
- github.com/canonical/lxd/pull/16923 (opens in a new tab)
- github.com/canonical/lxd/pull/16924 (opens in a new tab)
- github.com/canonical/lxd (opens in a new tab)