CVE-2026-41479
MEDIUM 5.4CVSS 3.1Authlib OAuth 2.0 has Open Redirect in Authorization API that allows attacker-controlled redirect_uri through unsupported response_type
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.
- Published
- 22 Jun 2026
- Last modified
- 18 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-601
- Also known as
- GHSA-w8p2-r796-3vmqPYSEC-2026-2119
- Sources
- NVDJSONOSV GHSA-w8p2-r796-3vmqJSONOSV PYSEC-2026-2119JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | authlib | authlibcpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:* |
< 1.6.10 | 1.6.10 |
| NVD | authlib | authlibcpe:2.3:a:authlib:authlib:1.7.0:*:*:*:*:*:*:* |
= 1.7.0 | |
| OSV | PyPI | authlib | < 1.6.10 | 1.6.10 |
| OSV | PyPI | authlib | >= 1.7.0, < 1.7.1 | 1.7.1 |
References
- https://github.com/authlib/authlib/commit/3be08468201a7766a93012ce149ea12822cab096 · Patch, WEB, FIX
- https://github.com/authlib/authlib/security/advisories/GHSA-w8p2-r796-3vmq · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-41479 · ADVISORY
- https://github.com/authlib/authlib · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/authlib/PYSEC-2026-2119.yaml · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Jun 2026)