PyPA Advisory Database
PYSEC-2026-188
Details
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.12 and 1.7.1, an unauthenticated open redirect in Authlib's OpenIDImplicitGrant and OpenIDHybridGrant authorization endpoint lets a remote attacker cause the authorization server to issue an HTTP 302 to an attacker-chosen URL by submitting an authorization request that omits the openid scope. This vulnerability is fixed in 1.6.12 and 1.7.1.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | authlib | All versions before 1.6.12 (fixed in 1.6.12) |