VDB
Sign up
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.

Affected packages

PyPI/authlib
Introduced in: 0Fixed in: 1.6.9
Fixpip install --upgrade 'authlib>=1.6.9'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/authlib"]}'