← Terug naar overzicht

A path traversal vulnerability (CWE-22) exists in @fastify/http-proxy versions before 11.6.2. The plain HTTP request handler fails to validate backslash-based dot-segments in proxied request paths before forwarding them upstream. Unlike the WebSocket path handler, the HTTP handler skips destination validation, and the underlying reply-from library only blocks forward-slash traversal. This allows an unauthenticated network attacker to craft requests with backslash dot-segments that escape the boundaries set by the prefix and rewritePrefix options. The result is unauthorized access to internal upstream endpoints meant to be hidden behind the proxy, leading to disclosure of sensitive internal routes. Users are advised to upgrade to @fastify/http-proxy version 11.6.2 or later to remediate the issue.

Affected products

  • '@fastify/http-proxy

Related CVE's

  • CVE-2026-85124

Categories

  • Supply Chain & Dependencies
  • Web Technologies