What’s Vulnerable › Vulnerabilities
CVE-2026-41479: Authlib OAuth 2.0 authorization endpoint open redirects to attacker-controlled redirect_uri on unsupported response_type
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-06-22 · updated 2026-06-26
- Weakness: CWE-601
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
- authlib: before 1.6.10; 1.7.0 — fixed in 1.6.10
How to fix
Upgrade to a fixed version: authlib 1.6.10. Check the vendor advisory for mitigations.
References
- https://github.com/authlib/authlib/commit/3be08468201a7766a93012ce149ea12822cab096
- https://github.com/authlib/authlib/security/advisories/GHSA-w8p2-r796-3vmq
Get alerted when CVE-2026-41479 or the next vulnerability affects your stack