CVE-2026-49265

EUVD-2026-98833
OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. From 3.0.0 until 4.0.0, OAuthLib's PKCE checks in oauthlib/oauth2/rfc6749/grant_types/authorization_code.py compare attacker-supplied code_verifier values with stored challenges using ordinary string equality in code_challenge_method_plain and code_challenge_method_s256. Because the comparison can return after a length difference or the first mismatching character, repeated token endpoint measurements can reveal common-prefix timing information that could potentially allow recovery of the code_verifier, unauthorized access-token acquisition, and account takeover. Practical exploitation requires an intercepted, single-use authorization code and enough measurements to overcome real-world network noise; the local timing benchmark does not establish practical remote account takeover, so the weakness remains a defense-in-depth concern. This issue is fixed in version 4.0.0.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
GitHub_MCNA
6.8 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 9.29%
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources (CNA/ADP records, vendor advisories, Enginsight analysis).
VendorProductVersionSource
oauthlib_projectoauthlib
3.0.0 ≤
𝑥
< 4.0.0
CNA
Debian logo
Debian Releases
Debian Product
Codename
python-oauthlib
bookworm
vulnerable
forky
vulnerable
sid
vulnerable
trixie
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-oauthlib
bionic
Fixed 2.0.6-1ubuntu0.1~esm1
released
focal
Fixed 3.1.0-1ubuntu2+esm1
released
jammy
Fixed 3.2.0-1ubuntu0.2
released
noble
Fixed 3.2.2-1ubuntu0.1
released
resolute
Fixed 3.3.1-1ubuntu0.1
released
stonking
Fixed 3.3.1-2ubuntu0.1
released
xenial
Fixed 1.0.3-1ubuntu0.1~esm1
released
Azure Linux logo
Azure Linux Releases
Azure Package
Release
python-oauthlib
Azure Linux 3.0
0:3.2.2-4.azl3
fixed