Skip to content
DayZeroHub
High Not yet writtenCVSS 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

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-127064: high-severity vulnerability (CVSS 8.2) in @fastify/reply-from @fastify/reply-from.

What happened

Original description from the source: @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.

Why it matters

High severity, CVSS 8.2.

Affected products and versions

@fastify/reply-from @fastify/reply-from < 12.8.4; @fastify/reply-from @fastify/reply-from 12.8.4 (fixed in 12.8.4)

ProductVersionsFixed in
@fastify/reply-from @fastify/reply-from< 12.8.4—
@fastify/reply-from @fastify/reply-from12.8.412.8.4

Action recommended by the source

Upgrade to a fixed version: 12.8.4.

Fixed in: 12.8.4

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

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

Relevant change history

  1. Published

    Preliminary advisory published.