The Remediation Ladder: Patch, Purge, Restrict, Rotate

Site Admin · 4 Dec 2026 · Cloud & Virtualization

Patch each line, purge CA entries from the trust store, restrict the listener, rotate what was public, then audit. The five upstream diffs are packaged with provenance and a 43/43 byte-identity verification.

There is no configuration workaround for CVE-2026-112816, and the vendor says so plainly. The order is simple: apply the fixed build, remove the conditions that turned a certificate into a credential, then prove the result.

Rung 1: patch the line you are on

sudo snap refresh lxd
sudo snap refresh microcloud
snap list lxd microcloud
lxd --version

The fixed LXD snaps are 6.10.1 (6/stable), 5.21.9 (5.21/stable), 5.0.11 (5.0/stable) and 4.0.15 (4.0/stable), all released to stable on 29 October 2026. MicroCloud is fixed in 2.1.5 (2/stable) and 3.4.1 (3/stable); Incus in v7.6.0.

Two details matter. A progressive rollout can return "no changes" on a host still behind, so read the version. And a cluster is not patched until every member is patched: mixed versions are tolerated during the upgrade window, but the window is exposure.

Rung 2: purge CA certificates from the trust store

lxc config trust list
lxc config trust remove <fingerprint>

A CA certificate in the trust store was the cheapest exploit primitive under the old code: any chain containing it matched, and CA certificates are public. Even with the fix, a CA entry keeps an assumption that no longer holds — that a trust entry is an issuer rather than an identity. Trust individual client certificates.

If an estate depends on core.trust_ca_certificates, treat it as a documented exception with a compensating control, not a default:

lxc config get core.trust_ca_certificates
lxc config set core.trust_ca_certificates false

Rung 3: restrict the listener

ss -ltnp | grep 8443

The API should be reachable from a management network only: a firewall rule and bind address on one host, the cluster's internal network plus a jump host on MicroCloud. Segmentation is the only workaround the vendor offers — and the control that fails the first time someone opens the port for a demo.

Port 8443 also serves /1.0/metrics, whose certificates are a separate trust type. Monitoring that reaches the API listener from a broad network is exposure even when it only scrapes.

Rung 4: rotate what was public

Every certificate in the trust store should be assumed public: the certificates API hands them to trusted clients, every handshake returns server certificates, and the flaw made possession sufficient. Replace client certificates, remove stale entries, re-issue anything distributed through a backup, an image or a repository.

Rung 5: audit and hunt

The patches, and what was verified

Patch Applies to Result Files
lxd-4.0-CVE-2026-112816.patch lxd-4.0.15 tag tree byte-identical 9
lxd-5.0-CVE-2026-112816.patch lxd-5.0.11 release tree byte-identical 8
lxd-5.21-CVE-2026-112816.patch lxd-5.21.9 release tree byte-identical 10
lxd-6.10-CVE-2026-112816.patch stable-6 after 6.10.1 byte-identical 10
incus-7.6-CVE-2026-112816.patch Incus f7a97ee9 tree byte-identical 6

Each patch was applied to the exact pre-fix tree, and every changed file compared byte for byte with the fixed upstream tree: 43 of 43 files identical. Each applies with git apply and patch -p1, and each is rejected on the fixed tree — the negative test that proves the diff is the fix, not a superset.

These are upstream's fixes, not an OwlMan patch. Commit SHAs, branch names, base and head trees, the verification record and the 4.0 backport's prerequisite commit are in BUILD.md.

Residual risk

With the fixed build and leaf-only client certificates, residual risk is low. What remains is the lesson: an mTLS trust store is an authentication database, and every entry is a potential bypass for code that confuses "has the certificate" with "holds the key". The CA audit is free, takes minutes, and is the highest-value action here.

Ten parts ago this looked like a container manager with a convenient API. It is a root daemon whose front door compared public data against a list of identities. The patch makes the comparison correct. The audit keeps it correct.