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-22743514
  • published23 Nov 2026
  • disclosed19 Nov 2026
  • creditapflffhtm

Introduced: 19 Nov 2026

NewCVE-2026-129500  (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 handleUpgrade function when the plugin is registered with websocket: true. When an upgraded socket is dispatched through the Fastify router, Node.js removes its own error listener from the socket before emitting the upgrade event, and the plugin does not attach a replacement listener during routing. A socket error such as a client TCP reset (ECONNRESET) that arrives while an async hook is pending is therefore unhandled and terminates the Node.js process. A single unauthenticated upgrade request followed by a connection reset is sufficient to crash the server, and the request can be repeated to keep the process down.

Note: This is only exploitable when websocket: true is used over a cleartext HTTP/1 listener. Upgrades over TLS are not affected because the TLSSocket retains its own error listener.

Workaround

Terminate TLS in front of the proxy so that upgrade connections arrive on a TLSSocket, which is not affected by this issue.

CVSS Base Scores

version 4.0
version 3.1