CVE-2026-114619
mediumAuthlib is a Python library which builds OAuth and OpenID Connect servers.
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.9.0, OpenIDImplicitGrant.validate_authorization_request() 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.validate_authorization_request() checks request.payload.scope instead of the filtered request.scope. This issue is fixed in version 1.9.0.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/authlib/authlib/commit/e3bd41cb29dcfee434453b135ffb487884baeedf security-advisories@github.com
- https://github.com/authlib/authlib/pull/945 security-advisories@github.com
- https://github.com/authlib/authlib/releases/tag/v1.9.0 security-advisories@github.com
- https://github.com/authlib/authlib/security/advisories/GHSA-q686-2qmg-hqc7 security-advisories@github.com
- https://github.com/authlib/authlib/security/advisories/GHSA-q686-2qmg-hqc7 134c704f-9b21-4f2e-91b3-4a467353bcc0
