CVE-2026-44681

Authlib: Open Redirect in Authlib OIDC Implicit/Hybrid Authorization

Published May 27, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Authlib exposed an unauthenticated open redirect in its OpenIDImplicitGrant and OpenIDHybridGrant authorization endpoints prior to versions 1.6.12 and 1.7.1. Attackers can craft a request that omits the openid scope to cause the authorization server to issue an HTTP 302 redirect to an arbitrary, attacker-chosen URL. The vulnerability enables phishing or credential-stealing attacks by misleading users into believing they are interacting with the legitimate authorization server. The weakness is represented by CWE-601 (Open Redirect) and CWE-863 (Missing authorization scope).

Affected Systems

The issue affects the Authlib library for Python. Versions earlier than 1.6.12 and 1.7.1 are vulnerable; any deployment that implements Open ID Connect implicit or hybrid flows using those versions is at risk.

Risk and Exploitability

The CVSS score is 6.1, indicating moderate severity. No EPSS data is available, and it is not listed in the CISA KEV catalog. The attack vector is remote; a client‑side actor can trigger the redirect by sending an unauthenticated authorization request to the impacted server. Successful exploitation requires the attacker to target a legitimate instance of Authlib that exposes its OIDC endpoints.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Authlib to version 1.6.12 or later, or 1.7.1 or later, which removes the redirect flaw.
  • Ensure that the OAuth/OIDC endpoints validate the presence of the openid scope for implicit or hybrid grants, rejecting requests that omit it.
  • If upgrading is not immediately possible, restrict exposure of the OIDC endpoints to trusted clients only, or implement network‑level filtering to block requests lacking the openid scope.

Generated by OpenCVE AI on May 27, 2026 at 20:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4708-1 python-authlib security update
Github GHSA Github GHSA GHSA-r95x-qfjj-fjj2 Authlib OIDC Implicit/Hybrid Authorization Vulnerable to Open Redirect
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:*
cpe:2.3:a:authlib:authlib:1.7.0:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Authlib
Authlib authlib
Vendors & Products Authlib
Authlib authlib
Type Values Removed Values Added
Description 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.
Title Authlib: Open Redirect in Authlib OIDC Implicit/Hybrid Authorization
Weaknesses CWE-601
CWE-863
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 2, 2026, 4:56 PM
Reserved
May 7, 2026, 4:20 PM
Status
Modified
Published
May 27, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:51 AM