CVE-2026-6414Fastify-static
Media 5.9 Sin autenticación
Seguir: esta CVE · Fastify · Fastify-static Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 16 abr 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-177
- 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:H/I:N/A:N
Qué pasa
@fastify/static versions 8.0.0 through 9.1.0 decode percent-encoded path separators (%2F) before filesystem resolution, while Fastify's router treats them as literal characters. This mismatch allows attackers to bypass route-based middleware or guards that protect files served by @fastify/static. For example, a route guard on a protected path can be circumvented by encoding the path separator in the URL. Upgrade to @fastify/static 9.1.1 to fix this issue. There are no workarounds.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Fastify-static.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Có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-x428-ghpx-8j92). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| fastify | fastify-static | ≥ 8.0.0 < 9.1.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- cna.openjsf.org Third Party Advisory
- github.com Vendor Advisory
- github.com Not Applicable
- github.com Not Applicable