PT-2026-44396 · Pypi · Pyjwt
CVSS v3.1
3.7
Low
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
PyJWT versions prior to 2.13.0
Description
PyJWT is a JSON Web Token implementation in Python. The
get signing key() function in PyJWKClient forces a new HTTP request to the JWKS endpoint for every JWT containing an unknown kid value, without implementing rate limiting. Because the kid variable is sourced from the unverified token header, an attacker can trigger an unlimited number of outbound requests. This issue occurs specifically when a JWKS fetch fails, which an attacker may attempt to induce through sustained traffic with unknown kid values, although the final result depends on the behavior of the upstream JWKS endpoint.Recommendations
Update to version 2.13.0.
Exploit
Fix
Improper Handling of Exceptional Conditions
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Pyjwt