WebSocket Error Handling Issue in Fastify HTTP Proxy Plugin
CVE-2026-129500
7.5HIGH
What is CVE-2026-129500?
The @fastify/http-proxy plugin, utilized for proxying HTTP and WebSocket traffic, contains a vulnerability related to error handling when WebSocket support is enabled. When this plugin is registered, incoming upgrades are incorrectly routed through the Fastify router before being fully managed by the WebSocket library. During this transition, if a socket error occurs—such as a client connection reset—it remains unaddressed, potentially leading to a crash of the Node.js process. This issue exists due to the absence of an error listener on the socket during the critical routing phase. Users are advised to update to version 11.6.10 or later to mitigate this risk.
Affected Version(s)
@fastify/http-proxy 9.0.0 < 11.6.10
@fastify/http-proxy 11.6.10
