Patch Ticker
EnglishEN
Elevated

LXD project isolation bypass allows host root code execution

CVE-2026-140086 and 5 more

Users of the LXD container tool can take over the whole server.

CVE
CVE-2026-140086 and 5 more
Score
CVSS 7.5 · CVE-2026-140086
First seen
7.5
Products
Disclosed together Linux Canonical LXD

Mitigation

Update to the fixed version for your line. Find your product's fixed version in the list below. Until then, for CVE-2026-140084 turn on features.networks=true and features.profiles=true, or do not grant can_create_* entitlements on projects with disabled features; for CVE-2026-140085 set PYTHONNOUSERSITE=1 in run-host. For the other CVEs, the update is the only fix.

Fixed version by product

LXD 4.0
4.0.16 or later
LXD 5.0
5.0.12 or later
LXD 5.21
5.21.10 or later
LXD 6.10
6.10.2 or later

Can't update yet?

Add this line to the config file:

features.networks=true

A wrong setting can stop the service or lock you out. Check the source links below first.

Summary

A flaw in LXD's resource-creation authorization lets an authenticated fine-grained (OpenFGA) user create resources in the default project and run code as host root. The same release also fixes flaws that overwrite files via lxc image export, expose host block devices through image unpacking, escalate privileges via run-host, and cause denial of service through large requests.

Exploit code is public

Affected when

  • CVE-2026-140084 fine-grained authorization (OpenFGA) in use, project feature flags disabled
  • CVE-2026-140086 lxc image export run from an attacker-supplied directory
  • CVE-2026-140085 LXD snap 6.10 series with the pro client installed
  • CVE-2026-127159 authenticated user with migration permissions
  • CVE-2026-127155 authenticated user with instance creation or file upload permissions
  • CVE-2026-127156 project-scoped tenant with image and instance permissions

3 other Incidents of this product in the last 30 days

Incidents by product: Canonical LXD

Other recent Incidents of Canonical LXD

Distribution packages (2) (every link below opens in a new tab)

Sources: Debian Security Tracker

6 CVEs (every link below opens in a new tab)

Read the advisory · github.com (opens in a new tab)

Each of the 6 CVEs (every link below opens in a new tab)

Show 3 more