LXD certificate trust requires network reachability and identity checks

CVE-2026-112816 is an authentication bypass in the HTTPS API used by Canonical LXD, MicroCloud, and the Incus fork. The flaw is in client-certificate chain validation. An attacker who can reach the API may authenticate as a trusted client and gain the authority of that client.

The impact can be severe because LXD and Incus manage virtual machines, containers, storage, and cluster state. A trusted client is not a read-only monitoring role by default. The advisory says the bug affects older LXD and MicroCloud builds and Incus versions before 7.6.0. Fixed LXD builds include 6.10.1, 5.21.9, 5.0.11, and 4.0.15. MicroCloud fixes include 3.4.1 and 2.1.5.

Standalone LXD normally listens on a local Unix socket until core.https_address is configured. Clusters and MicroCloud deployments may expose the HTTPS API on the network for member communication. That difference is the first exposure question. The second is whether the trusted client certificate store contains certificates whose private keys are still available to a broader group than intended.

Inventory the API boundary

Check every host and cluster member, including the management node. Query the effective server configuration and listener sockets. Determine which networks can reach the HTTPS API and whether any public load balancer or VPN route forwards it. Review the trust store for stale clients, test certificates, automation identities, and certificates issued without a documented owner.

Patch to the fixed build for each product and channel. A snap refresh can update the host package while an old cluster member remains on the vulnerable build, so verify every member and the API response from the load balancer. For clustered systems, plan the upgrade order and test that member communication still works.

Treat certificate trust as authorization

Client certificates should map to a named owner, purpose, and revocation path. Separate human administration from automation. Where possible, place the LXD API behind a management network with an allowlist and a jump path. Audit successful API calls for new aliases, image sources, storage pools, or instances that were not part of a change record.

If a vulnerable API was reachable by an untrusted network, rotate trusted client keys and inspect the audit trail before assuming the patch restored integrity. Review instance configuration for added mounts, devices, or privileged profiles. Check storage and network objects for unexplained changes.

The verification step

After the upgrade, connect with an approved client and confirm the expected certificate identity. Then test from an unapproved network and confirm the API is unreachable. Do not expose the API to the internet merely to simplify a remote workflow.

This vulnerability is a reminder that mutual TLS has two independent decisions: whether a certificate chain validates, and whether the resulting identity should be allowed to manage the cluster. Logging and policy must cover both. A correct version scan is useful, but the network path and the trust-store membership decide whether the flaw is reachable in practice.

References