The Manager With Root in Its Pocket: What LXD Actually Is

Site Admin · 4 Dec 2026 · Cloud & Virtualization

LXD is Canonical's system-container and VM manager, installed by default on Ubuntu Servers since 15.10. Its HTTPS API is the machine's management plane, and in 2026 one word in its certificate check turned any trusted public certificate into a login.

LXD is the default system-container manager on Ubuntu servers, and its HTTPS API is not a convenience interface. It is the machine's management plane. In 2026 one word in its certificate check turned any trusted public certificate into a login.

What it is

LXD is Canonical's system container and virtual machine manager. A daemon runs on a Linux host, exposes a REST API over HTTPS, and creates containers that behave like small servers rather than packaged applications. The same daemon also drives QEMU virtual machines, so an operator can run a container and a VM side by side with one tool, one image store, and one network model.

It began at Canonical in 2014, shipped experimentally in Ubuntu 15.04, and was installed by default on Ubuntu Servers from 15.10 onward. That distribution decision is why LXD is less a product people choose than a layer they inherit. It is also the substrate under MicroCloud, Canonical's three-to-fifty-node private cloud, where LXD supplies compute while MicroCeph supplies storage and MicroOVN supplies networking.

A plain-language analogy

Docker is a shipping container: it packages one application and everything it needs. LXD is the building superintendent. It hands out whole rooms — with their own init system, users, network interfaces and disks — and it keeps the master key to every room on the property.

That master key is the API. The lxc command is only a client; everything it does is an HTTPS request to the daemon. The daemon runs as root because its job requires root: mounting host paths into containers, creating network bridges, attaching block devices, and starting virtual machines.

One tiny example

Locally, LXD looks modest:

lxc launch ubuntu:24.04 web
lxc exec web -- bash

The second command gives a shell inside a container that has its own process tree, its own users, and its own network stack. It is not a chroot. It is a machine-shaped workload sharing the host kernel.

Remotely, the same tool reaches another host:

lxc remote add prod https://10.0.0.10:8443
lxc list prod:

That second example is the one that matters for this series. Port 8443 is the LXD API. Whoever can authenticate there can create containers, mount host directories, change networks, and read the host's storage. There is no separate privilege escalation step, because the API is already the privileged interface.

Why the severity is 10.0

CVSS 10.0 is often inflated. Here it is not. A container with / from the host mounted inside it is a root shell with extra steps, and LXD's API exists precisely to create such containers. Authentication bypass on that API is therefore equivalent to root on the host, and on a cluster it is equivalent to root on every member that trusts the compromised one.

CVE-2026-112816 is the defect that made that bypass possible. The server compared every certificate in the client's presented chain against its trust store, instead of only the leaf. A certificate is public data. A private key is not. The check confused the two.

The shape of the series

Part 2 maps the installed base. Part 3 walks the six jobs that all end at the same API. Part 4 compares LXD honestly with Docker, Podman, Incus and Proxmox. Part 5 opens the TLS authentication path and the trust store. Part 6 covers the smaller failures around the same loop. Part 7 takes the fundamental flaw apart certificate by certificate. Part 8 is the version story, including a public tag that does not contain the fix its number implies. Part 9 walks the exploitation chain from port 8443 to host root. Part 10 is the remediation ladder, with the verified upstream patches.

Next: Part 2 — every Ubuntu Server is a candidate: who actually runs LXD, and why the installed base is wider than the product's marketing.