Advisory

PYSEC-2026-4359

Also known as: CVE-2026-114619, GHSA-q686-2qmg-hqc7

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.6, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Dates

Published
2026-10-22 22:18 UTC
Modified
2026-10-30 10:00 UTC

Affected packages and fixes

authlib

PyPI · All systems

Affected

  • introduced 0, fixed 1.9.0 (ecosystem)

Fixed versions

1.9.0

Fix

  • Fixed version 1.9.0
    pip install --upgrade authlib==1.9.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences