Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 8.2CVE-2026-127064

CVE-2026-127064: @fastify/reply-from vulnerable to path traversal via semicolon path-parameter dot-segments

@fastify/reply-from @fastify/reply-from

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-127064: vulnerabilidad de severidad alta (CVSS 8.2) en @fastify/reply-from @fastify/reply-from.

Qué ocurre

Descripción original de la fuente (en inglés): @fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions before 12.8.4, its buildURL function rejects parent-directory path segments by an exact string match, so a segment that carries a semicolon path parameter, such as a dot-dot segment followed by a semicolon and an optional parameter, is not equal to the plain dot-dot form and passes the traversal check, and the WHATWG URL parser keeps it as an ordinary segment so the base-prefix containment check also passes. Backends that strip semicolon path parameters before resolving dot-segments, such as Apache Tomcat, Jetty, WildFly, and Spring Boot, turn the segment back into a parent-directory reference and resolve it, so an unauthenticated client can escape the intended upstream prefix and reach internal paths such as admin or internal API endpoints, including with state-changing methods. Deployments that proxy to Node.js, nginx, or Express upstreams are not affected. The issue is fixed in @fastify/reply-from 12.8.4, and users should upgrade to 12.8.4 or later.

Por qué importa

Severidad alta, CVSS 8.2.

Productos y versiones afectados

@fastify/reply-from @fastify/reply-from < 12.8.4; @fastify/reply-from @fastify/reply-from 12.8.4 (corregido en 12.8.4)

ProductoVersionesCorregido en
@fastify/reply-from @fastify/reply-from< 12.8.4—
@fastify/reply-from @fastify/reply-from12.8.412.8.4

Acción recomendada por la fuente

Actualizar a una versión corregida: 12.8.4.

Corregido en: 12.8.4

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-22, CWE-436

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.