Resource exhaustion in Jpadilla Pyjwt
CVE-2026-101917
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT get_signing_key_from_jwt is affected because unknown kid misses force refreshes without a negative cache or minimum refresh interval. This occurs when unauthenticated tokens repeatedly use the same unknown kid or varying kid values absent from the cached JWKS. As a result, each cache miss causes PyJWKClient to refresh the JWKS. Consequently, attacker traffic can amplify outbound requests to the configured JWKS endpoint. This issue is fixed in version 2.14.0.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.004, 37.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Jpadilla Pyjwt — versions < 2.14.0
- Pyjwt Project
Weakness classification (CWE)
References
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-2gx3-rcp4-g85q (Exploit, Vendor Advisory)
- https://github.com/jpadilla/pyjwt/commit/ba4853a75fb9676362da17f67d0f64bd18afd4e1 (Patch)
- https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 (Product, Release Notes)