WebSocket upgrade issue in Fastify HTTP Proxy plugin affects performance
CVE-2026-130647
What is CVE-2026-130647?
The Fastify HTTP Proxy plugin version 9.0.0 to 11.6.9 has a significant issue when WebSocket support is enabled. In scenarios where a WebSocket upgrade is triggered behind another HTTP request on a shared cleartext connection, the plugin fails to properly manage socket upgrades. As a result, if a later socket error occurs—such as a client connection reset—the process goes unhandled, potentially causing the Node.js application to crash. This vulnerability can be exploited by sending a single unauthenticated connection that resets after the WebSocket upgrade request. The issue is resolved in version 11.6.10 and later, making it imperative for users to upgrade to maintain stability and security.
Affected Version(s)
@fastify/http-proxy 9.0.0 < 11.6.10
@fastify/http-proxy 11.6.10
