LXD’s Perfect 10.0 Flaw: How a Certificate Bug Could Hand Attackers Your VMs
A flaw with the maximum possible severity score landed in Canonical’s LXD and MicroCloud this week — and it’s a perfect example of why authentication bugs are scarier than they sound. Tracked as CVE-2026-112816, it carries a CVSS score of 10.0, and it lets an attacker impersonate a trusted client without ever holding that client’s private key.
What Are LXD and MicroCloud?
LXD is a system container and virtual machine manager built by Canonical, the company behind Ubuntu. Think of it as a tool that lets you run many isolated Linux systems on one server — developers, homelabs and cloud teams use it to manage fleets of containers and VMs from a single API. MicroCloud builds on LXD to cluster several machines together. If you run either, this flaw is about your infrastructure.
How the Flaw Works
LXD’s network API authenticates trusted clients using TLS certificates. Normally, proving you hold a certificate means proving you hold its matching private key — that’s the whole point of certificate authentication. This bug broke that check: an attacker who could reach the LXD HTTPS API and who had a trusted client’s public certificate could authenticate as that client, even without the private key. In plain terms: the lock was checking the shape of the key instead of whether it actually turned. Once authenticated as a trusted client, the attacker could access the cluster and the virtual machines it runs — a serious foothold on infrastructure that often hosts many services at once.
What We Know — and Don’t Know
- The flaw was reported by the Incus project (a community fork of LXD), and Canonical confirmed LXD was affected too. Incus fixed it in version 7.6.0.
- Fixed LXD releases are 6.10.1, 5.21.9, 5.0.11 and 4.0.15; MicroCloud fixes are 3.4.1 and 2.1.5.
- As of the advisory, there is no confirmed exploitation, no public exploit, and the flaw is not in CISA’s Known Exploited Vulnerabilities catalog. A 10.0 score describes potential impact, not current attacks.
- Canonical noted the fixed releases were still rolling out to the stable channel when the advisory dropped — so check the version you actually have after refreshing, rather than assuming the fix arrived.
How to Protect Yourself
- Update now. Move LXD to 6.10.1, 5.21.9, 5.0.11 or 4.0.15 (matching your release series), and MicroCloud to 3.4.1 or 2.1.5. Then verify with lxc –version or snap info lxd.
- Don’t expose the LXD API to the internet. The API should only be reachable from trusted networks. If it’s publicly reachable, restrict it behind a VPN or firewall rules immediately.
- Audit trusted clients. List the certificates your LXD trusts (lxc config trust list) and remove any you don’t recognize or no longer need.
- Watch for follow-up. If exploitation appears, expect CISA KEV listing and vendor updates. Patching early is what keeps a scary advisory from becoming an incident.
The lesson here is bigger than one bug: authentication is only as strong as its verification. A certificate system that doesn’t verify private-key possession is a locked door with the keyhole on the wrong side. Patch it, lock down the API, and move on.



Comments
Post a Comment