Advisory

PYSEC-2026-2119

Also known as: CVE-2026-41479, GHSA-w8p2-r796-3vmq

Summary

The record has no summary.

Details

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.

Severity

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

Dates

Published
2026-06-22 21:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

authlib

PyPI · All systems

Affected

  • introduced 0, fixed 1.6.10 (ecosystem)

Fixed versions

1.6.10

Fix

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

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