CVE-2026-114619: Authlib: OpenID implicit grant checks raw scope instead of allowed scope before issuing ID tokens

Published Oct 22, 2026
·
Updated

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.0, OpenIDImplicitGrant.validateauthorizationrequest() checks the client-controlled raw request.payload.scope for openid after the parent grant has filtered allowed scopes into request.scope. A registered client permitted an ID token response type but not the openid scope can add openid to the request, obtain user consent, and receive a signed ID token containing the user's subject and allowed profile claims. Authorization code flow and deployments that allow openid for every client permitted an ID token response are not affected. In authlib/oidc/core/grants/implicit.py, OpenIDImplicitGrant.validateauthorizationrequest() checks request.payload.scope instead of the filtered request.scope. This issue is fixed in version 1.9.0.

Affected Software

1 affected component
pypi/authlib<1.9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Authlib to a version that resolves this vulnerability.

    Fixed in 1.9.0

Event History

Oct 22, 2026
CVE Published
via MITRE·09:31 PM
Data Sourced
via MITRE·09:31 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using the OpenID implicit grant are exposed when a registered client is allowed an ID token response type but is not allowed the openid scope. The client can request openid anyway and, after user consent, receive a signed ID token.

2

What does an attacker need to exploit it?

The attacker needs credentials for, or control of, a registered client that is permitted an ID token response type but lacks permission for the openid scope. Exploitation also requires a user to complete the authorization consent step.

3

What information can be disclosed through a successful exploit?

A successful exploit can yield a signed ID token containing the user's subject and any allowed profile claims. The issue does not provide an availability impact.

4

Which configurations are not affected?

Authorization code flow is not affected. Deployments in which every client permitted an ID token response type is also allowed the openid scope are not affected.

5

What version fixes the issue?

Authlib 1.9.0 fixes the issue by checking the filtered allowed scope rather than the client-controlled raw scope during implicit-grant authorization validation.

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