Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-41479 EUVD-2026-38360GHSA-w8p2-r796-3vmqPYSEC-2026-2119

Authlib OAuth 2.0 authorization endpoint open redirects to attacker-controlled redirect_uri on unsupported response_type

Published Jun 22, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

Description

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.10 and 1.7.1, Authlib's OAuth 2.0 authorization endpoint can be turned into an unauthenticated open redirect when a request uses an unsupported response_type and supplies an attacker-controlled redirect_uri. The vulnerable behavior happens before client lookup and before any redirect URI validation. As a result, an attacker does not need a valid client registration, an authenticated user, or any prior state. A single request to the authorization endpoint is enough to obtain a 302 Location response to an arbitrary attacker-controlled URL. This vulnerability is fixed in 1.6.10 and 1.7.1.

Affected products

VendorProductAffectedFixed
authlib authlib < 1.6.10, = 1.7.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-authlib 1.7.2-1 —
Debian 13 python-authlib No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-authlib No fix yet —
Ubuntu 25.10 python-authlib No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS python-authlib No fix yet —
Ubuntu Pro 24.04 LTS python-authlib No fix yet —
Ubuntu Pro 22.04 LTS python-authlib No fix yet —
ReleasePackageFixed inAdvisory
SLES 3 python-Authlib 1.3.1-150600.3.30.1 SUSE-SU-2026:4111-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 python-Authlib 1.5.2-bp160.4.1 openSUSE-SU-2026:21795-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI authlib < 1.6.10 1.6.10 GHSA-w8p2-r796-3vmq
PyPI authlib >= 1.7.0, < 1.7.1 1.7.1 GHSA-w8p2-r796-3vmq

Advisories 2

References