6.8

CVE-2026-49265: OAuthLib: Timing Attack Vulnerability in PKCE code_verifier Comparison

Deferred
AliasesGHSA-xpv3-w29h-x7cvPYSEC-2026-4114CGA-2fx9-2vh4-xqvf
Published 13-10-2026Last modified 13-10-2026

Vulnerability summary

CVE-2026-49265 is a medium (CVSS 6.8) Observable Timing Discrepancy vulnerability in oauthlib. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 7

Timeline

  1. 13-10-2026
    PublishedVulnerability first disclosed.
  2. 13-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.24% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard83 products
  • airflow-2All versions (No fix recorded)
  • ansible-operator< 1.42.3-r18
  • ansible-operator-fips< 1.42.3-r15
  • authentik-2025.12All versions (No fix recorded) | < 2025.12.6-r25
  • authentik-2026.2All versions (No fix recorded) | < 2026.2.7-r12
Wolfi17 products
  • az< 2.90.0-r2
  • dask-kubernetes< 2026.3.0-r15
  • datadog-agent-7.77-core-integrationsAll versions (No fix recorded)
  • datadog-agent-7.78-core-integrationsAll versions (No fix recorded) | < 7.78.4-r28
  • datadog-agent-7.79-core-integrationsAll versions (No fix recorded) | < 7.79.2-r29
Debian1 product
  • python-oauthlibAll versions (No fix recorded)
Oauthlib1 product
PyPI1 product
  • oauthlib≥ 3.0.0, < 4.0.0
Ubuntu1 product
  • python-oauthlibAll versions (No fix recorded) | < 1.0.3-1ubuntu0.1~esm1 | < 2.0.6-1ubuntu0.1~esm1 | < 3.1.0-1ubuntu2+esm1 | < 3.2.0-1ubuntu0.2 | < 3.2.2-1ubuntu0.1 | < 3.3.1-2ubuntu0.1 | < 3.3.1-1ubuntu0.1

6 vendors · 104 products

References

15 links
Show all 15 references