Amenazas en vivo

Todas las CVE / Nodejs

CVE-2026-109383Nodejs Undici

Omisión de verificación de certificado TLS en Undici para Node.js

Crítica 9.1 Sin autenticación

Prioridad
70
CVSS 3.1
9.1
EPSS
—
Requiere autenticación
No
Publicada
15 oct 2026
Actualizada
19 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-295
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Qué pasa

Undici, cliente HTTP para Node.js, descarta silenciosamente funciones personalizadas de verificación TLS (como checkServerIdentity) durante la clonación JSON de opciones del Agent, permitiendo que certificados rechazados por validaciones personalizadas sean aceptados si pasan las verificaciones por defecto de Node.js. Afecta a versiones 4.0.0-6.29.0, 7.0.0-7.30.0 y 8.0.0-8.12.1, impactando aplicaciones que usan Agent, request, fetch o setGlobalDispatcher.

Ver el texto original de NVD (en inglés)

undici is an HTTP client library for Node.js. In versions 4.0.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, its Agent dispatcher passes its constructor options through a JSON-based deep clone before forwarding them to each per-origin pool, and because JSON cannot represent functions, a caller-supplied tls option containing a checkServerIdentity callback is silently dropped before it reaches the TLS layer. As a result, a TLS peer whose certificate a custom checkServerIdentity was written to reject, but which passes Node's default hostname and chain checks, is silently accepted. Because Agent is the default dispatcher behind request, fetch, and setGlobalDispatcher, this affects the path most applications use, and EnvHttpProxyAgent is affected on its direct and no-proxy routes as well, while only applications that pass a function-valued tls option such as a custom checkServerIdentity for certificate or public-key pinning are at risk. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, which preserve the tls option outside the JSON clone so custom verification callbacks are forwarded unchanged, and users should upgrade to one of those versions or later. As a workaround, pass the TLS options through connect instead of tls, or for proxied destinations use requestTls and proxyTls.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 6.29.1, 7.30.1, 8.12.2

Actualiza Undici a versión 6.29.1, 7.30.1 o 8.12.2 según tu rama. Como alternativa temporal, pasa opciones TLS a través de connect en lugar de tls, o usa requestTls y proxyTls para destinos proxificados.

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para Undici.
  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
npm undici ≥ 4.0.0 < 6.29.1 6.29.1 npm install undici@6.29.1
npm undici ≥ 7.0.0 < 7.30.1 7.30.1 npm install undici@7.30.1
npm undici ≥ 8.0.0 < 8.12.2 8.12.2 npm install undici@8.12.2

Según OSV / GitHub Advisories (GHSA-2m5v-pch6-74hx). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
nodejsundici≥ 4.0.0 < 6.29.1
nodejsundici≥ 7.0.0 < 7.30.1
nodejsundici≥ 8.0.0 < 8.12.2

Boletines oficiales

Además: Red Hat (+9)

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.