PT-2026-60960 · Npm · Fastify-Http-Proxy

·

CVE-2026-15631

·

Published

2026-07-18

·

Updated

2026-07-28

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions @fastify/http-proxy versions 9.4.0 through 11.5.0
Description WebSocket destination paths are not properly validated against the configured rewrite prefix. The WebSocketProxy.findUpstream() function resolves destinations using the WHATWG URL constructor, which collapses dot segments. This allows a crafted upgrade request containing path traversal sequences to bypass the rewrite prefix and access upstream endpoints that should not be exposed. This issue is exploitable via non-normalizing WebSocket clients, such as raw HTTP clients or downstream proxies that forward the request target without modification, as standard browsers and the ws package normalize paths before transmission.
Recommendations Upgrade @fastify/http-proxy to version 11.6.0.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-15631
GHSA-7HRW-592W-9WH2

Affected Products

Fastify-Http-Proxy