Summary
CVE-2026-135384 is an improper authentication vulnerability (CWE-287) in the OIDC bearer token verification of Canonical LXD. A remote attacker holding a token signed by the configured identity provider can authenticate to the LXD API and gain unauthorized control or impersonate users. The CVE carries a critical severity rating (CVSS 9.2).
Technical details
- Root cause: LXD’s OIDC implementation did not properly validate that a token was issued for the LXD server itself, so tokens issued for other applications were accepted.
- Trigger conditions (per the vendor advisory):
oidc.audienceis not configured, so tokens are not bound to the specific LXD server.oidc.claimis unset, so unverified email addresses from the identity provider are accepted as usernames.- Both access tokens and ID tokens are accepted interchangeably.
- Attack vector: Network. The attacker must hold a JWT signed by the configured OIDC issuer; no access needs to have been granted to them in LXD.
- Impact: Authentication to the LXD API, full server control, impersonation of other users, and bypass of network restrictions configured via claims.
Affected software
- Canonical LXD before 5.0.12 (5.0 series)
- Canonical LXD before 5.21.10 (5.21 series)
- Canonical LXD before 6.10.2 (6.x series)
Severity
- CVSS base score: 9.2 (Critical)
- Vector:
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N(the CVE record provides a CVSS v4.0 vector, not v3.1)
Mitigation and recommended actions
- Immediate: Upgrade to LXD 5.0.12, 5.21.10 or 6.10.2 (or later).
- Workarounds if patching is not immediately possible (per vendor advisory):
- Configure
oidc.audienceso only tokens issued specifically for LXD are accepted. - Set
oidc.claimto an immutable identifier such assubrather than user-editable fields. - Require the identity provider to release only verified email addresses.
- Configure

