CVE-2026-49852authlib joserfc
Alta 8.7 Sin autenticación
Seguir: esta CVE · authlib · authlib joserfc Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 17 jul 2026
- Actualizada
- 24 oct 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.6.8, joserfc.jwt.decode accepts attacker-forged HMAC-signed tokens when the caller-supplied verification key is the empty string or None, because HMACAlgorithm.sign and HMACAlgorithm.verify in src/joserfc/_rfc7518/jws_algs.py pass the output of OctKey.get_op_key(...) to hmac.new(...) and OctKey.import_key in src/joserfc/_rfc7518/oct_key.py only emits a SecurityWarning for keys shorter than 14 bytes without rejecting zero-length input. This issue is fixed in version 1.6.8.
Qué hacer
- Aplica la actualización de seguridad del fabricante para joserfc.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | joserfc |
< 1.6.8 |
1.6.8 |
pip install "joserfc>=1.6.8" |
| PyPI | joserfc |
< 1.6.8 |
1.6.8 |
pip install "joserfc>=1.6.8" |
Según OSV / GitHub Advisories (GHSA-gg9x-qcx2-xmrh, PYSEC-2026-2528). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- authlib · joserfc
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:42045 · 19 ago 2026 Alta
- Security update for python-joserfc · SUSE · openSUSE-SU-2026:21263-1 · 6 jul 2026 Alta
- python313-joserfc-1.7.2-2.1 on GA media · SUSE · openSUSE-SU-2026:11183-1 · 4 jul 2026 Alta
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.