Skip to main content
VulnerabilityPublished Updated

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

Affects ggshieldSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.8 Medium : upgrade to 1.57.0 when convenient.

Data as of 26 Nov 2026, 21:22 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.57.0, 4.0.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade ggshield to 1.57.0; oauthlib to 4.0.0.

Affected software

ProductAffectedFixed in
Homebrewggshieldpkg:brew/ggshieldOther threatsAffected
  • >=1.19.1 <1.57.0
Fixed in
  • 1.57.0
PyPIoauthlibpkg:pypi/oauthlibOther threatsAffected
  • 3.0.0 – 3.3.1
  • >=3.0.0 <4.0.0
10 affected builds
Fixed in
  • 4.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in oauthlib version 1.57.0 that replaces the vulnerable string comparison with a constant-time comparison function (hmac.compare_digest()). Users should upgrade to version 1.57.0 or later to remediate this vulnerability. No additional mitigations are indicated by the vendor advisory.

Description

A timing side-channel vulnerability exists in oauthlib's PKCE implementation for the Authorization Code Grant flow. The vulnerable code uses Python's standard string equality operator (==) instead of a constant-time comparison, allowing attackers to measure timing differences and potentially recover the code_verifier. This flaw affects oauthlib versions from 1.19.1 up to but not including 1.57.0. The issue is mitigated by replacing the comparison with a constant-time function such as hmac.compare_digest().

References

Community reviews

Loading reviews…