LXD and MicroCloud: update now to close 36 critical flaws
Canonical fixed 36 critical and high-severity flaws in LXD and MicroCloud on 26 November 2026. Update to 4.0.16, 5.0.12, 5.21.10 or 6.10.2 — Entra ID users need extra steps first.

Affects
- LXD
- MicroCloud
- Ubuntu
Tracked as
CVE-2026-135384LXDCVE-2026-127163pylxd, the Python client for LXDCVE-2026-135382LXDCVE-2026-137114LXDCVE-2026-136973LXDCVE-2026-135375LXDCVE-2026-135373LXDCVE-2026-135383LXDCVE-2026-127157LXDCVE-2026-135378LXDCVE-2026-115844LXD
Canonical published fixes on 26 November 2026 for 36 security advisories in LXD and MicroCloud, the tools many Ubuntu servers use to run containers and virtual machines. Sixteen of the advisories are rated critical and twenty high. The reports came from the Incus project and independent researchers over the past few weeks, and Canonical backported the fixes to every supported long-term release: 4.0.16, 5.0.12, 5.21.10 and 6.10.2. Anyone running LXD should update now. MicroCloud users update LXD the same way, since the other MicroCloud parts need no change.

What happened
Most of the flaws share one pattern: a user with limited rights inside a single LXD project could reach beyond that project and touch the host itself. In a shared server, where different people or tenants get their own projects, that boundary is the whole point of the setup — and these flaws broke it in many places at once.
In image, backup and storage handling, crafted files could make the LXD daemon read or overwrite host files as root. CVE-2026-135382 covers symlink following, path traversal and unpack races across backup exports, storage imports and migrations, which Canonical rates 9.9 out of 10. CVE-2026-137114 covers special files such as device nodes and named pipes hidden inside image or backup metadata, also rated 9.9. CVE-2026-136973 covers a crafted ZFS stream disguised as a block volume that could mount an attacker-controlled filesystem over any host directory, again rated 9.9.
In instance handling, helpers that run on the host for containers could be turned into host root code execution. CVE-2026-135375 covers host-side helpers that run inside container contexts, rated 9.9. CVE-2026-135373 covers unchecked device paths, disk formats and Ceph volume names that could mount host files or create setuid root files, rated 9.9.
In authentication, the flaws let limited users climb to full admin rights or keep access after it was taken away. CVE-2026-135383 covers flaws in TLS trust store lookups, certificate handling and session revocation, rated 9.9. CVE-2026-127157 covers certificate and cluster join token secrets broadcast in operation events, rated 9.6. CVE-2026-135384 covers OIDC sign-in tokens accepted without proper checks: tokens issued for other applications were accepted, and email claims were not verified, so an attacker could reach the API or pose as another user. It carries a CVSS 4.0 score of 9.2, while Canonical rates it high at 8.1 out of 10.
In networking, CVE-2026-135378 covers missing checks on network cards, OVN settings, DNS zones and access lists that could let a restricted user inject firewall rules, delete interfaces or hijack other tenants’ traffic, rated 9.1. CVE-2026-115844 covers bridge networks created with arbitrary dnsmasq directives that could run attacker scripts as host root when a DHCP lease arrived, rated 9.9.
One more flaw sits in the client, not the server. CVE-2026-127163 covers the pylxd Python client, which skipped TLS certificate checks when opening websocket connections for running commands and watching events, so someone in the middle of the connection could intercept commands or fake their output. It carries a CVSS 4.0 score of 9.1.
Advisories fixed in this LXD release, by severity
The numbers
| advisories | Advisories |
|---|---|
| Critical | 16 |
| High | 20 |
What this means for you
If the server runs only one person’s containers and nobody else gets a login, the risk is lower, but the update is still worth doing: several of these flaws need only a crafted image, backup or storage volume, and images get shared and reused all the time. On a shared host — a homelab with friends, a small team server, a hosting setup with separate projects per tenant — the risk is direct: a restricted project user could have read host files, overwritten devices, or run code as host root.
Two catches come with the update itself. First, the OIDC hardening behind CVE-2026-135384 changes how sign-in tokens are checked, so deployments that use Microsoft Entra ID will stop working until the tenant is reconfigured. Second, LXD 5.21.10 has a regression: passing an NVIDIA graphics card into a container with a CDI identifier, such as gpu id=nvidia.com/gpu=0, fails when the container starts. Canonical says a patch for that will come in the next point release.
What to do
-
Update LXD on every host. For the snap install, run:
sudo snap refresh lxdThen check the version with
snap list lxdorlxc version. It should read 4.0.16, 5.0.12, 5.21.10 or 6.10.2, matching the release line the host follows. The fixed releases are in the candidate channel first and move to stable after final validation, so if the refresh does not offer one yet, check again later the same day. -
MicroCloud users: update LXD on every member of the cluster the same way. The rest of the MicroCloud components need no update.
-
If sign-in runs through Microsoft Entra ID, reconfigure the tenant before users try to sign in again, following Canonical’s Entra ID guide. People who sign in through the web interface get access back once the tenant is reconfigured. People who only ever signed in through the command line need one more step: an administrator must delete their OIDC identities so LXD recreates them at the next sign-in. Where the deployment uses identity provider groups, access returns on sign-in; where it does not, the administrator must also restore each person’s LXD group membership by hand.
-
If the host passes NVIDIA graphics cards into containers with CDI identifiers and runs 5.21.10, expect container start failures until the next point release, and plan around that before updating, or hold that host briefly.
-
If scripts or automation use the pylxd library to run commands or watch events, update that library too, and treat connections over networks that are not trusted as exposed until the client is updated.
Sources
- Security advisory: Fixes available for Critical and High severity vulnerabilities affecting LXD and MicroCloudUbuntu Discourse
- Improper verification of OIDC bearer tokens in LXDGitHub
- How to use Microsoft Entra ID as an OIDC identity providerCanonical


