CVE-2026-48524

PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can trigger unlimited outbound requests. The vulnerability surfaces only when a JWKS fetch fails; an attacker can attempt to provoke that with sustained unknown-kid traffic, but the outcome depends on upstream JWKS-endpoint behavior (rate limiting, transient errors) which is beyond the attacker's control. This vulnerability is fixed in 2.13.0.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:*

History

26 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) PyJWT es una implementación de JSON Web Token en Python. Antes de la versión 2.13.0, PyJWKClient.get_signing_key() fuerza una nueva solicitud HTTP al endpoint JWKS para cada JWT con un valor kid desconocido, sin limitación de tasa. Dado que kid proviene del encabezado del token no verificado, un atacante puede desencadenar solicitudes salientes ilimitadas. La vulnerabilidad solo se manifiesta cuando una obtención de JWKS falla; un atacante puede intentar provocar eso con tráfico sostenido de kid desconocido, pero el resultado depende del comportamiento del endpoint JWKS ascendente (limitación de tasa, errores transitorios) lo cual está fuera del control del atacante. Esta vulnerabilidad está corregida en la versión 2.13.0.

Information

Published : 2026-05-28 16:16

Updated : 2026-10-26 13:10


NVD link : CVE-2026-48524

Mitre link : CVE-2026-48524

CVE.ORG link : CVE-2026-48524


JSON object : View

Products Affected

pyjwt_project

  • pyjwt
CWE
CWE-460

Improper Cleanup on Thrown Exception

CWE-755

Improper Handling of Exceptional Conditions