deniz.in

Markets

Weather

Loading weather

· via dev.to (home feed)

Seven-step checklist walks LXD administrators through OIDC flaw CVE-2026-135384

A response checklist published on dev.to helps LXD administrators determine whether CVE-2026-135384 affects them, patch or mitigate the OIDC token verification flaw, and verify the fix.

Seven-step checklist walks LXD administrators through OIDC flaw CVE-2026-135384

A checklist for a critical authentication flaw

A response checklist published on dev.to guides LXD administrators through CVE-2026-135384, a vulnerability in how LXD verifies OpenID Connect (OIDC) tokens that could allow tokens belonging to other applications to authenticate against an LXD server.

The article frames the response around three questions answered in order: whether the server runs an affected release, whether OIDC is configured in a way that exercises the vulnerable code path, and whether a token from the configured identity provider could breach the identity boundary LXD is meant to enforce.

What the flaw does

According to Canonical's advisory, as summarized in the article, LXD validated a token's issuer, signature and expiry, but unless the oidc.audience setting was configured it did not verify that the token was actually intended for LXD. An access token issued to a different application sharing the same identity provider could therefore be accepted.

The advisory reportedly identifies three further weaknesses: a token that named no user could authenticate as an empty user; an ID token submitted where an access token was expected could be accepted, sidestepping the claim checks meant for access tokens; and when oidc.claim was unset, the email claim supplied the identity even when the provider had flagged it as unverified.

Severity ratings differ between records, and the article advises keeping both on file. The CVE Program record classifies the issue as CWE-287, improper authentication, with a CVSS 4.0 score of 9.2 Critical, while the GitHub advisory page lists 8.1 High under CVSS 3.1. Canonical lists every release before 5.0.12, 5.21.10 and 6.10.2 as affected.

Inventory and exposure

The checklist's first practical step is inventory: record the running server version, not just the CLI version, and enumerate cluster members, recovery nodes, management appliances and any host accepting remote API sessions, along with whether the deployment is a snap, package or source build.

OIDC usage should be confirmed from configuration, including issuer, client ID, audience, user claim, group claim and authorization path, rather than assumed from a login page. The article also warns against copying secrets or full provider responses into the response log.

Citing a ZoomEye snapshot showing 12,271 matches for app="LXD" and zero matches tagged with the CVE itself, the article stresses that such results only prompt ownership checks. Without version and configuration evidence, none of those hosts can be called vulnerable.

Patching and interim mitigations

Remediation is an upgrade to 5.0.12, 5.21.10 or 6.10.2 depending on the installed branch, with the running version confirmed afterwards and every cluster member and standby management route included. Where an upgrade cannot happen immediately, the advisory's workaround is to set oidc.audience to a value the identity provider places only in LXD access tokens, to pick a claim users cannot edit, such as sub, for oidc.claim, or to make the provider release only verified email addresses.

The article considers a server with a broad default OIDC authorization model more exposed than one that narrows authorization with a scriptlet, though both require the patch, and it flags email-based identity mapping for immediate review of the provider's verification policy. Firewall rules that limit external management access may reduce reachability but do not repair the server, and should not be logged as the final fix.

Testing and closure

After patching, the checklist calls for controlled tests with low-privilege accounts: a legitimate access token should authenticate the intended user; a token issued for another application at the same provider should be rejected; an ID token in the access-token position should be rejected; and an unverified email claim should not map to a privileged LXD user. A version check alone, the article argues, proves nothing about whether the audience and token-type controls are actually working.

Administrators are also told to review every OIDC client sharing the issuer with LXD, remove registrations that are no longer needed, and eliminate identity mappings that rest on user-editable claims. On the question of compromise, the article found no evidence of active exploitation in the material it reviewed, and it treats an anomalous log event as a lead that needs correlation with the provider and the host owner rather than proof of a breach.

The checklist closes by asking for evidence: the fixed version, restart records, configuration values, test results and the management-exposure decision attached to the change record, plus a scheduled follow-up review of provider mappings and email-verification policy.

Why it matters

LXD servers manage containers, virtual machines, storage and networks, so an authentication flaw at the management interface undermines the trust boundary of the entire deployment. The checklist's real value is that it converts a confusing severity picture, 9.2 or 8.1 depending on which CVSS version you read, into concrete and testable end conditions: a patched build running, OIDC token checks that enforce the intended audience and user model, and a management interface exposed only as far as the organization actually requires.

  • #lxd
  • #security
  • #oidc
  • #cve
  • #authentication

Related posts