DEV Community

OnaEiuspkz
OnaEiuspkz

Posted on

CVE-2026-135384 Response Checklist for LXD Administrators

CVE-2026-135384 Response Checklist for LXD Administrators

An LXD administrator responding to CVE-2026-135384 needs to answer three questions in order. Is the server on an affected release? Is it using OIDC in a configuration that reaches the flawed verification path? Can a token from the configured provider cross the intended LXD identity boundary?

Canonical lists releases before 5.0.12, 5.21.10, and 6.10.2 as affected. The CVE record identifies CWE-287 improper authentication and assigns CVSS 4.0 score 9.2 Critical. The GitHub advisory page shows 8.1 High under CVSS 3.1. The response should preserve both published assessments while grounding the decision in the server and provider configuration.

Step one: inventory the right assets

Record the running LXD server version in addition to the CLI version. Include cluster members, recovery nodes, management appliances, and any host that accepts remote API sessions. Note whether the deployment uses a snap, package, or source build and which support branch it follows.

Identify OIDC use by configuration, not by assumption from a login page. The relevant settings include the issuer, client ID, audience, user claim, group claim, and the authorization path. Do not copy secrets or complete provider responses into the response log.

The frozen ZoomEye observation recorded 12,271 matches for app="LXD" and zero for vul.cve="CVE-2026-135384". Use the product count to prompt ownership checks. Do not label those matches vulnerable without version and configuration evidence.

Step two: understand the token path

The advisory says LXD checked the token issuer, signature, and expiry. Unless oidc.audience was set, it did not bind the token to the LXD server. A token from another application using the same provider could be accepted.

It also says a token that did not name a user could authenticate as an empty user. An ID token could be accepted in place of an access token, potentially skipping claim checks meant for the access token. When oidc.claim was unset, the email claim was used even if the provider marked it unverified.

These conditions help determine response urgency. A server with a broad default OIDC authorization model is more exposed than one with a tightly scoped authorization scriptlet, although both need remediation. A server with email-based mapping needs immediate review of provider verification policy.

Step three: remove the vulnerable build

Upgrade to LXD 5.0.12, 5.21.10, or 6.10.2 according to the installed line. Confirm the running server version after the upgrade and restart the service if the deployment requires it. Include every cluster member and any standby management path.

If an upgrade cannot be completed immediately, follow the advisory's workaround. Set oidc.audience to a value the identity provider places only in LXD access tokens. Use a non-editable oidc.claim such as sub, or configure the provider to release only verified email addresses.

Restrict external management access where it is not needed. A firewall or network rule may reduce immediate reachability, but it does not repair the server and should not be recorded as the final fix.

Step four: test the boundary

Use controlled, low-privilege test accounts before testing administrative access. Confirm that a normal LXD access token authenticates the intended user. Test a token issued for another application at the same provider and confirm rejection. Test an ID token in the access-token position and confirm rejection.

Test an unverified email claim against a non-production account. The patched server should not map it to a privileged LXD user. If the provider supports custom claims, confirm that the selected subject or group claim is present and that LXD interprets it as expected.

Record the test result with the server version and configuration. A version check without an authentication test does not prove that the audience and token-type controls are active.

Step five: review identity and authorization

List OIDC clients at the provider that share the issuer with LXD. Remove registrations that are no longer needed. Verify that every remaining client has a distinct purpose and that LXD's audience value is not reused by unrelated applications.

Review OpenFGA or scriptlet rules, identity-provider groups, and users created from email addresses. Look for mappings that rely on user-editable claims. The advisory recommends a stable subject claim or verified-email-only policy because identity mapping must not depend on an attribute the user can change.

Step six: inspect evidence for exposure

If a server was reachable with OIDC before remediation, collect the relevant authentication logs, provider sign-in events, and LXD audit records. Look for sessions without a known user, identities that do not map to an approved provider account, or changes to instances, storage, networks, and server settings.

The sources reviewed for this article do not establish active exploitation. Treat an anomalous event as a lead requiring correlation with the provider and host owner. Do not claim compromise solely because the affected version was present.

Step seven: close the response with evidence

Attach the fixed version, restart evidence, configuration values, test results, and management-exposure decision to the change record. Confirm that every affected cluster member is covered. Schedule a follow-up review for provider mappings and email-verification policy.

The final state should satisfy three conditions: the fixed LXD build is running, the OIDC token checks reflect the intended audience and user model, and the management interface has only the network exposure the organization requires.

References

[1] Canonical LXD security advisory GHSA-v3m9-p36m-qjqc

[2] CVE Program record for CVE-2026-135384

[3] LXD 6.10.2 release notes

[4] LXD server configuration reference

Top comments (0)