Amenazas en vivo

Todas las CVE / Fastify

CVE-2026-6410Fastify-static

Media 5.3 Sin autenticación

Prioridad
47
CVSS 3.1
5.3
EPSS
—
Requiere autenticación
No
Publicada
16 abr 2026
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-22
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Qué pasa

@fastify/static versions 8.0.0 through 9.1.0 allow path traversal when directory listing is enabled via the list option. The dirList.path() function resolves directories outside the configured static root using path.join() without a containment check. A remote unauthenticated attacker can obtain directory listings for arbitrary directories accessible to the Node.js process, disclosing directory and file names. File contents are not disclosed. Upgrade to @fastify/static 9.1.1 to fix this issue. As a workaround, disable directory listing by removing the list option from the plugin configuration.

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 Fastify-static.
  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 @fastify/static ≥ 8.0.0 < 9.1.1 9.1.1 npm install @fastify/static@9.1.1

Según OSV / GitHub Advisories (GHSA-pr96-94w5-mx2h). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
fastifyfastify-static≥ 8.0.0 < 9.1.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.