CVE-2026-40205: Medium severity vulnerability

Published Aug 28, 2026
·
Updated

An attacker that holds an OAuth2 token granting only part of the required scopes can authenticate, because when more than one scope is required in the configuration, the remote token validation paths accept a token that carries only one of them, while the local token validation path correctly requires all of them. The configured authorization policy is not enforced, so a token that was granted only part of the required permissions is accepted where it should have been rejected. Use local token validation where tokens can be validated locally. Update to non-vulnerable version. No publicly available exploits are known.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Ensure the configured authorization policy is enforced during token validation so that tokens granted only a partial set of required scopes are rejected.

    OAuth2 token validation authorization policy enforcement / remote token validation behavior = enforce configured authorization policy
  2. Configuration

    Use local token validation where tokens can be validated locally to ensure all required scopes are checked (since the local validation path correctly requires all of them).

    OAuth2 token validation token validation mode = local token validation
  3. Compensating control

    Restrict token validation to local validation paths when possible, avoiding remote token validation behavior that may accept tokens with only one of multiple required scopes.

Event History

Aug 28, 2026
CVE Published
via MITRE·10:12 AM
Data Sourced
via MITRE·10:12 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which configurations are affected?

Affected deployments use remote OAuth2 token validation and configure an authorization policy requiring more than one scope. Local token validation correctly requires all configured scopes.

2

What does an attacker need to exploit this?

The attacker needs an OAuth2 token that includes only part of the scopes required by the configured policy. The vulnerable remote validation path may accept that token even though it lacks the full required scope set.

3

What can be done before an update is available or applied?

Use local token validation where tokens can be validated locally. This path correctly enforces all required scopes.

4

Are public exploits known?

No publicly available exploits are known.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203