VDB
Sign up
CRITICAL9.8

PYSEC-2026-2118

Quick fix

PYSEC-2026-2118 — authlib: upgrade to the fixed version with the command below.

pip install --upgrade 'authlib>=1.6.7'

Details

Authlib is a Python library which builds OAuth and OpenID Connect servers. From version 1.6.5 to before version 1.6.7, previous tests involving passing a malicious JWT containing alg: none and an empty signature was passing the signature verification step without any changes to the application code when a failure was expected.. This issue has been patched in version 1.6.7.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/authlib
Introduced in: 1.6.5Fixed in: 1.6.7
Fixpip install --upgrade 'authlib>=1.6.7'

References