CVE-2026-135383: lxd: Incorrect authorization in TLS certificate trust and revocation handling
Incorrect authorization in TLS certificate trust store and revocation handling in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an authenticated client with a restricted or revoked TLS certificate to gain unrestricted administrative access to the server or cluster via trust-lookup races, forwarded cluster identity headers, CA-issued certificate detaching, or stale revocation and session state.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 4.0.16 - Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 5.0.12 - Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 5.21.10 - Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 6.10.2
Event History
Frequently Asked Questions
Which deployments are exposed?
Canonical LXD deployments running versions before 4.0.16, 5.0.12, 5.21.10, or 6.10.2 are affected. The issue can impact both individual servers and LXD clusters.
What level of access does an attacker need?
An attacker needs to be an authenticated client using a restricted or revoked TLS certificate. Successful exploitation can elevate that client to unrestricted administrative access.
Are revoked certificates safe to rely on as an immediate mitigation?
No. The issue includes stale revocation and session state, so a revoked TLS certificate may still be usable under affected conditions. Restricted certificates can also be involved in the authorization bypass.
What mechanisms can lead to the authorization bypass?
The described paths include races in trust lookup, forwarded cluster identity headers, detaching CA-issued certificates, and stale revocation or session state. These conditions can cause LXD to treat a restricted or revoked client as an unrestricted administrator.