CVE-2026-135384: lxd: Improper authentication in OIDC bearer token verification
Improper authentication in OIDC bearer token verification in Canonical LXD before 5.0.12, 5.21.10, 6.10.2 allows a remote attacker holding a token signed by the configured identity provider to authenticate to the LXD API and gain unauthorized control or impersonate users via presenting tokens issued for other applications, ID tokens, or unverified email claims.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.0.12 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.21.10 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.10.2
Event History
Frequently Asked Questions
Which deployments are exposed?
LXD deployments that use OIDC authentication with a configured identity provider are affected if they run a version before 5.0.12, 5.21.10, or 6.10.2. The issue concerns authentication to the LXD API.
What does an attacker need to exploit this?
An attacker needs a token signed by the configured identity provider. The token may have been issued for another application, may be an ID token, or may rely on unverified email claims.
What access could exploitation provide?
A successful attacker can authenticate to the LXD API and gain unauthorized control. They may also impersonate users.