Amenazas en vivo

Todas las CVE / hapijs

CVE-2026-84367hapijs joi

Baja 3.7 Sin autenticación

Prioridad
37
CVSS 3.1
3.7
EPSS
—
Requiere autenticación
No
Publicada
1 sep 2026
Actualizada
9 sep 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-1321
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Qué pasa

joi is a schema description language and data validator for JavaScript. From 16.0.0 until 17.13.5 and 18.2.4, joi's lib/types/keys.js internals.rename() implementation used by object().rename() permits a schema that renames keys with a regular-expression source and a Joi.expression() or Joi.x() target that interpolates the pattern's own match data, combined with { multiple: true }, to derive a target from an attacker-controlled input key. An attacker can send x-__proto__ with an object value, causing the target to render as __proto__ and set the prototype of the object returned by validate() instead of creating an own key. The global Object.prototype is not modified, so the effect is confined to the object returned by that validation call. Static-string targets and schemas using the default { multiple: false } are not affected. This issue is fixed in versions 17.13.5 and 18.2.4.

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 joi.
  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 joi ≥ 16.0.0 < 17.13.5 17.13.5 npm install joi@17.13.5
npm joi ≥ 18.0.0 < 18.2.4 18.2.4 npm install joi@18.2.4

Según OSV / GitHub Advisories (GHSA-gg4h-3hg2-grpc). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.