PT-2026-25780 · Pypi+1 · Oauthlib+1

Jaynornj

+1

·

Published

2026-01-01

·

Updated

2026-05-21

·

CVE-2026-28490

CVSS v4.0

8.3

High

VectorAV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Authlib versions prior to 1.6.9
Description Authlib, a Python library for building OAuth and OpenID Connect servers, contains a cryptographic padding oracle vulnerability in the implementation of the JSON Web Encryption (JWE) RSA1 5 key management algorithm. The library registers RSA1 5 in its default algorithm registry without requiring explicit opt-in and disables the constant-time Bleichenbacher mitigation implemented by the underlying cryptography library. This allows an attacker to exploit a weakness in the padding process to potentially decrypt encrypted keys. The vulnerability arises because Authlib raises a specific exception ('ValueError: Invalid "cek" length') when the padding is invalid, creating a distinguishable path from a valid padding scenario. This exception oracle, combined with the default configurations of common Python web frameworks (Flask, Django, and FastAPI), enables exploitation without additional server misconfiguration. The issue is present in versions prior to 1.6.9.
Recommendations Update Authlib to version 1.6.9 or later.

Exploit

Fix

Side Channel Attack

Use of a Broken Cryptographic Algorithm

Weakness Enumeration

Related Identifiers

BDU:2026-07263
CVE-2026-28490
ECHO-C9A3-95EC-F0D8
GHSA-7432-952R-CW78
OPENSUSE-SU-2026:20392-1
SUSE-SU-2026:0975-1

Affected Products

Oauthlib
Red Os