Path traversal in Fastify-http-proxy - CVE-2026-15631
Published: July 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass the intended access boundary and disclose sensitive information.
The vulnerability exists due to path traversal in the WebSocket upstream URL construction in @fastify/http-proxy when processing a crafted WebSocket path containing .. segments. A remote attacker can send a specially crafted WebSocket upgrade request to bypass the intended access boundary and disclose sensitive information.
Only WebSocket endpoints on the upstream are reachable through this issue; HTTP-only paths at the escaped location do not complete the handshake.