Skip to main content
VulnerabilityPublished Updated

github.com/canonical/lxd · LXD vulnerable to a local privilege escalation through custom storage volumes

Affects github.com/canonical/lxdSource GCVE Database

0

CVSS 8.6 High : upgrade to 0.0.0-20251110144034-698854d0164f soon.

Data as of 13 Nov 2026, 20:10 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
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:N

What to do

Upgrade github.com/canonical/lxd to 0.0.0-20251110144034-698854d0164f.

Affected software

ProductAffectedFixed in
Gogithub.com/canonical/lxdAffected
  • <0.0.0-20251110144034-698854d0164f
Fixed in
  • 0.0.0-20251110144034-698854d0164f

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

Community reviews

Loading reviews…