Path Traversal Vulnerability in Fastify Plugin by Fastify
CVE-2026-127064
What is CVE-2026-127064?
The @fastify/reply-from plugin, crucial for forwarding requests to upstream HTTP servers, is susceptible to a path traversal vulnerability in versions prior to 12.8.4. This vulnerability arises from the plugin's buildURL function, which inadequately handles parent-directory path segments with semicolon parameters. Malicious users could exploit this flaw to bypass security protocols, reaching sensitive internal endpoints such as admin panels or internal APIs without authentication. Vulnerable setups using backends that normalize path parameters, including popular servers like Apache Tomcat and Jetty, are particularly at risk. To mitigate this security issue, it is imperative that users upgrade to version 12.8.4 or later.
Affected Version(s)
@fastify/reply-from 0 < 12.8.4
@fastify/reply-from 12.8.4
