Not Failing Securely ('Failing Open') Affecting authlib package, versions [,1.6.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.23% (14th percentile)

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 IDSNYK-PYTHON-AUTHLIB-15674453
  • published17 Mar 2026
  • disclosed16 Mar 2026
  • creditJay Neiva, Pr00fOf3xpl0it

Introduced: 16 Mar 2026

CVE-2026-28498  (opens in a new tab)
CWE-354  (opens in a new tab)
CWE-636  (opens in a new tab)

How to fix?

Upgrade authlib to version 1.6.9 or higher.

Overview

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

Affected versions of this package are vulnerable to Not Failing Securely ('Failing Open') via the _verify_hash function in authlib/oidc/core/claims.py. An attacker can substitute an access token or authorization code undetected by supplying an ID token with an unsupported alg header, causing create_half_hash to return None and the verification to incorrectly succeed.

References

CVSS Base Scores

version 4.0
version 3.1