Timing Attack 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.02% (4th 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-15674451
  • published17 Mar 2026
  • disclosed16 Mar 2026
  • creditJay Neiva, Pr00fOf3xpl0it

Introduced: 16 Mar 2026

CVE-2026-28490  (opens in a new tab)
CWE-203  (opens in a new tab)
CWE-208  (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 Timing Attack via the unwrap length check in jwe_algs.py. An attacker can recover the CEK and decrypt or forge JWE tokens by sending malformed RSA1_5 ciphertexts and observing the different ValueError("Invalid "cek" length") versus InvalidTag responses.

References

CVSS Base Scores

version 4.0
version 3.1