Path Traversal Vulnerability in Fastify Plugin by Fastify
CVE-2026-127060
What is CVE-2026-127060?
The Fastify HTTP Proxy plugin allows for HTTP and WebSocket traffic to be proxied but contains a vulnerability in versions prior to 11.6.10. An improper handling of path segments can lead to a potential path traversal scenario. Specifically, the plugin does not accurately reject requests containing parent-directory segments if they include a semicolon path parameter. As a result, crafted requests can bypass intended path restrictions, allowing access to resources outside of the designated subtree. This can lead to exposure of sensitive data or functionality beyond what the proxy was meant to expose. Users are strongly advised to upgrade to version 11.6.10 or later to mitigate this risk.
Affected Version(s)
@fastify/http-proxy 0 < 11.6.10
@fastify/http-proxy 11.6.10
