Allocation of Resources Without Limits or Throttling Affecting pyjwt package, versions [,2.14.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.35% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYJWT-20245196
  • published29 Sept 2026
  • disclosed28 Sept 2026
  • creditKingsley Olukanni

Introduced: 28 Sep 2026

NewCVE-2026-101917  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade pyjwt to version 2.14.0 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via PyJWKClient.get_signing_key in jwt/jwks_client.py, where an attacker can repeatedly present tokens with unknown key IDs, causing the client to perform an unbounded number of forced refreshes against the JWKS endpoint. Each unrecognised kid triggers a fresh HTTP fetch with no rate limiting or cooldown, allowing an attacker to exhaust the server's resources or cause excessive outbound network traffic.

CVSS Base Scores

version 4.0
version 3.1