Fastify @fastify/reply-from path traversal (CVE-2026-127064)
The @fastify/reply-from plugin contains a path traversal vulnerability allowing unauthenticated attackers to bypass prefix constraints when proxying to specific upstream backends that normalize semicolon path parameters.
CVE search metadata
CVE search record: CVE-2026-127064. Severity: high. CVSS: 8.2. KEV: no. Product: @fastify/reply-from. Brief: Fastify @fastify/reply-from path traversal (CVE-2026-127064). Brief link: https://feed.craftedsignal.io/briefs/2026-11-fastify-reply-from-path-traversal-cve-2026-127064/
Triage facts
Revision 1- Applicability
- @fastify/reply-from
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 20, 01:02 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
Overview
@fastify/reply-from is a Fastify plugin for forwarding requests to upstream HTTP servers. A vulnerability exists in the buildURL function where it fails to properly filter parent-directory path segments containing semicolon path parameters. Attackers can exploit this by crafting a path (e.g., utilizing a dot-dot segment followed by a semicolon and parameters) that bypasses the plugin's validation check but is resolved as a parent-directory traversal by certain upstream backends. This allows an unauthenticated user to escape the intended upstream directory prefix and access restricted paths or internal API endpoints. This impact is specific to backends that strip semicolon path parameters before resolving dot-segments, such as Apache Tomcat, Jetty, WildFly, and Spring Boot.
Impact
Successful exploitation allows unauthenticated remote attackers to access unauthorized administrative or internal API endpoints on the upstream server, including the use of state-changing HTTP methods.
Recommendation
Upgrade the @fastify/reply-from plugin to version 12.8.4 or later. For organizations proxying to backends like Apache Tomcat, Jetty, WildFly, or Spring Boot, prioritize this update to prevent unauthorized path traversal into sensitive internal application components.
Threat Hunt
Identify HTTP requests containing semicolon path parameters (e.g., /..;/ or /..;parameter/) targeted at proxy services utilizing @fastify/reply-from, particularly those destined for internal API or administrative endpoints on upstream backends like Tomcat, Jetty, or Spring Boot.
Data: web_proxy_logs, access_logs, waf_logs
Mitigations
Upgrade @fastify/reply-from to 12.8.4 or later
Gaps
- Review proxy configurations targeting Apache Tomcat, Jetty, WildFly, or Spring Boot for potential traversal patterns.