llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · undici

GHSA-2M5V-PCH6-74HX

undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versionesPrimer parche a -12 d de la divulgación
Exposición23 dDesde la divulgación, 27 oct 2026, 2:02 p. m.
Detección20 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 6.29.1 +2
Monitoreo
Detectada
15 oct 26
27 oct 26
17 nov 26
19 nov 26
15 oct 26
24 oct 26
2 nov 26
11 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 6.29.1 undici · -12 d desde divulgación
Remediación Parche 7.30.1 undici · -12 d desde divulgación
Remediación Parche 8.12.2 undici · -12 d desde divulgación
Divulgación Publicada GHSA-2M5V-PCH6-74HX divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Impact

undici's `Agent` passes its constructor options through a JSON-based deep clone (`JSON.parse(JSON.stringify(...))`) before forwarding them to each per-origin `Pool`. JSON cannot represent functions, so 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 when the request is made through `Agent`. Because `Agent` is the default dispatcher behind `request`, `fetch`, and `setGlobalDispatcher`, this is the path most applications use. `EnvHttpProxyAgent` is also affected on its direct and `NO_PROXY` routes, which delegate to an internal `Agent`.

Only applications that pass a function-valued `tls` option (such as a custom `checkServerIdentity` for certificate or public-key pinning) are affected. Passing the same options through `connect` is not affected. This is the `Agent` counterpart of the `BalancedPool` certificate validation bypass fixed in CVE-2026-84961.

Patches

Upgrade to undici `6.29.1`, `7.30.1`, or `8.12.2`. `Agent` now preserves the `tls` option outside the JSON clone, so custom TLS verification callbacks are forwarded to each origin unchanged.

Workarounds

Pass the TLS options through `connect` instead of `tls`. For proxied `EnvHttpProxyAgent` destinations, use `requestTls` / `proxyTls`.

Versiones

Rangos afectados

Afectada Corregida Última
undici≥ 4.0.0 < 6.29.1
undici≥ 7.0.0 < 7.30.1
undici≥ 8.0.0 < 8.12.2
4.0.0
6.29.1
7.0.0
7.30.1
8.0.0
8.12.2
8.12.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmundici
Corregida 6.29.1, 7.30.1, 8.12.2 -12 d · -12 d · -12 d 8.12.4 no afectada
Versiones corregidas6.29.17.30.18.12.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-109383
Otrahttps://github.com/nodejs/undici/security/advisories/GHSA-2m5v-pch6-74hx
Otrahttps://github.com/nodejs/undici/commit/04cb74b1db131ff8f5b4557dce811cbf5f4664b4
Otrahttps://github.com/nodejs/undici/commit/8c59f6b302898cb2e9b0f7962cd7212b6e597c9f
Otrahttps://github.com/nodejs/undici/commit/f75eac00ac177f7b2e6c8bfbd52d4113164286e6
Otrahttps://cna.openjsf.org/security-advisories.html
Otrahttps://github.com/nodejs/undici
Otrahttps://github.com/nodejs/undici/releases/tag/v6.29.1
Otrahttps://github.com/nodejs/undici/releases/tag/v7.30.1
Otrahttps://github.com/nodejs/undici/releases/tag/v8.12.2

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.