Uncaught Exception Affecting @fastify/http-proxy package, versions >=9.0.0 <11.6.10


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FASTIFYHTTPPROXY-22743507
  • published23 Nov 2026
  • disclosed19 Nov 2026
  • creditAdel Assakaf

Introduced: 19 Nov 2026

NewCVE-2026-130647  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade @fastify/http-proxy to version 11.6.10 or higher.

Overview

@fastify/http-proxy is a proxy http requests, for Fastify

Affected versions of this package are vulnerable to Uncaught Exception via the shared WebSocket upgrade listener when websocket: true is enabled and a WebSocket upgrade is pipelined behind another HTTP request on the same cleartext connection. When the upgrade arrives while the prior request's response is still attached to the socket, the listener returns early without taking the upgrade and without attaching an error listener to the raw socket. Because Node.js removes its own error listener before emitting the upgrade event, a subsequent socket error on that connection - such as a client TCP reset (ECONNRESET) - is unhandled and terminates the Node.js process. An unauthenticated attacker can crash the server with a single pipelined connection and repeat the attack to keep the process down.

Note: This is only exploitable over cleartext HTTP/1 listeners. Upgrades over TLS are not affected because TLSSocket retains its own error listener. On versions 9.0.0 to before 11.6.4, the pipelined upgrade alone (without a reset) terminates the process via an uncaught ERR_HTTP_SOCKET_ASSIGNED, and TLS connections are also affected on those versions.

CVSS Base Scores

version 4.0
version 3.1