Amenazas en vivo

Todas las CVE / Pyjwt Project

CVE-2026-48522Pyjwt Project Pyjwt

Media 4.2 Sin autenticación

Prioridad
40
CVSS 3.1
4.2
EPSS
—
Requiere autenticación
No
Publicada
28 may 2026
Actualizada
26 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-441, CWE-918
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Qué pasa

PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and DataHandler. There is currently no documented option to restrict which schemes PyJWKClient will fetch. If an application's jku URL ingestion path accepts attacker-influenced URLs (e.g., from JWT header, configuration file, OAuth flow parameter), the attacker can cause PyJWKClient to read arbitrary local files via file:// (SSRF on local filesystem), cause PyJWKClient to attempt FTP / data-URI fetches (broader SSRF surface), or forge tokens that PyJWT verifies as valid. The library does not directly return non-HTTP(S) URI contents to the attacker; the chained "plant a JWKS to forge tokens" scenario described in the original report requires additional application-layer flaws (attacker write access to a filesystem path, untrusted jku derivation) that this fix does not address. This vulnerability is fixed in 2.13.0.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Pyjwt.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI pyjwt ≥ 2.0.0 < 2.13.0 2.13.0 pip install "pyjwt>=2.13.0"
PyPI pyjwt < 2.13.0 2.13.0 pip install "pyjwt>=2.13.0"

Según OSV / GitHub Advisories (GHSA-993g-76c3-p5m4, PYSEC-2026-175). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
pyjwt_projectpyjwt< 2.13.0

Boletines oficiales

Además: SUSE (+5)

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.