Incorrect Authorization Affecting authlib package, versions [,1.6.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AUTHLIB-13003878
  • published22 Sept 2025
  • disclosed22 Sept 2025
  • creditMuhammad Noman Ilyas

Introduced: 22 Sep 2025

NewCVE-2025-59420  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade authlib to version 1.6.4 or higher.

Overview

authlib is a library in building OAuth and OpenID Connect servers.

Affected versions of this package are vulnerable to Incorrect Authorization via the deserialize_compact function. An attacker can bypass intended authorization policies by crafting a signed token with unknown critical header parameters, which are improperly accepted and processed.

References

CVSS Base Scores

version 4.0
version 3.1