Amenazas en vivo

Todas las CVE / Nodejs

CVE-2026-109829Nodejs Undici

Envenenamiento de caché por confusión de origen en Undici

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-346, CWE-524
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 versiones 7.0.0 a 7.30.0 y 8.0.0 a 8.12.1 son vulnerables a envenenamiento de caché cuando se usan un Agent sin origen, interceptores de redirección y caché compartido. Un atacante puede almacenar en caché respuestas maliciosas bajo URLs de confianza o exponer datos privados de usuarios. La vulnerabilidad requiere una configuración específica: Agent sin origen, almacén de caché compartido e interceptores en orden redirección-caché.

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

undici is an HTTP client library for Node.js. In versions 7.0.0 through 7.30.0 and 8.0.0 through 8.12.1, when an originless Agent composes the redirect and cache interceptors in that order with a shared cache store, the cache builds its key from the original request URL before the redirect handler changes the origin, so a response produced after a cross-origin redirect is stored under the original key. An attacker who controls the target of a redirect from a trusted URL can have their response cached under that trusted URL and served to later callers, allowing persistent cache poisoning, and the same key confusion lets a private, non-stored redirect response to a user-specific resource be stored under the original URL and served to a later unauthenticated caller, disclosing private data. Applications are affected only when an originless Agent, a shared cache store, and the redirect-then-cache composition are all used. The issue is fixed in undici 7.30.1 and 8.12.2, which verify the producing origin still matches the cache key and preserve each redirect hop's cache-control policy before storing, and users should upgrade to one of those versions or later. As a workaround, compose the cache interceptor before the redirect interceptor, use per-origin dispatchers and cache stores, or disable shared caching on redirect-capable requests.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 7.30.1, 8.12.2

Actualiza Undici a versión 7.30.1 o 8.12.2 o posterior. Como alternativa, compone el interceptor de caché antes del de redirección, usa dispatchers y almacenes de caché por origen, o desactiva el caché compartido en sol…

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 ≥ 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-4w7w-5xrc-9h26). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
nodejsundici≥ 7.0.0 < 7.30.1
nodejsundici≥ 8.0.0 < 8.12.2

Boletines oficiales

Además: Red Hat (+4)

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.