CVE-2026-135384

lxd: Improper authentication in OIDC bearer token verification

Published Nov 26, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability lies in an improper authentication of OAuth‑2.0 OIDC bearer tokens in Canonical LXD. A remote attacker who secures a token signed by the configured identity provider can present that token to the LXD API and bypass normal authentication. The attacker may gain full control of the LXD instance or impersonate other users by using tokens issued for different applications, ID tokens, or tokens containing unverified email claims.

Affected Systems

Canonical LXD versions prior to 5.0.12, 5.21.10, and 6.10.2 are affected. Security patches are available in the aforementioned releases; any installation using these older versions is potentially vulnerable.

Risk and Exploitability

The CVSS score of 9.2 classifies this flaw as Critical. The EPSS score is not available, but the flaw is widely considered exploitable due to the remote nature of the API and the common use of OIDC contexts. The vulnerability is not yet listed in CISA’s KEV catalog, yet it poses a significant risk for systems exposing the LXD API to untrusted users or networks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official LXD update to 5.0.12, 5.21.10, or 6.10.2 or later to include the authentication fix.
  • Verify that the OIDC bearer token verification is enabled and that token audiences match only the intended LXD services, rejecting tokens for other applications or unverified email claims.
  • Configure network-level access controls or firewall rules to restrict access to the LXD API to trusted hosts, thereby limiting the potential reach of an attacker who may obtain a forged token.

Generated by OpenCVE AI on November 27, 2026 at 00:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Canonical
Canonical lxd
Vendors & Products Canonical
Canonical lxd
Type Values Removed Values Added
Description 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.
Title lxd: Improper authentication in OIDC bearer token verification
Weaknesses CWE-287
References
Metrics cvssV4_0

{'score': 9.2, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Nov 26, 2026, 11:35 PM
Reserved
Nov 23, 2026, 5:04 PM
Status
Deferred
Published
Nov 27, 2026, 12:16 AM
Modified
Nov 27, 2026, 12:16 AM