MEDIUM6.5
PYSEC-2026-2116
Quick fix
PYSEC-2026-2116 — authlib: upgrade to the fixed version with the command below.
pip install --upgrade 'authlib>=1.6.9'Details
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a cryptographic padding oracle vulnerability was identified in the Authlib Python library concerning the implementation of the JSON Web Encryption (JWE) RSA1_5 key management algorithm. Authlib registers RSA1_5 in its default algorithm registry without requiring explicit opt-in, and actively destroys the constant-time Bleichenbacher mitigation that the underlying cryptography library implements correctly. This issue has been patched in version 1.6.9.
Are you affected?
Enter the version of the package you're using.