CVE-2026-129502: @fastify/http-proxy WebSocket upgrade can crash Node.js process
A single unauthenticated WebSocket upgrade request with a URL fragment can terminate a Node.js process running @fastify/http-proxy with websocket support enabled. Upgrade to 11.6.10 or later.
Overview
CVE-2026-129502 affects @fastify/http-proxy versions from 9.4.0 up to but not including 11.6.10. When the plugin is registered with websocket support enabled, a WebSocket upgrade request whose path carries a URL fragment is matched by the router and answered with a successful upgrade before the upstream link is created.
Building the upstream target then throws. The error is only logged, and the accepted client socket is left open with no error listener. The next frame the client sends becomes an unhandled error and terminates the Node.js process. A request target that is not a valid URL reference reaching a parameterized prefix triggers the same issue.
A single request followed by one frame is enough to crash the server, and the attack can be repeated to keep the process down.
What to do
1. Review the NVD entry and OpenJS Foundation advisory to confirm exposure: https://nvd.nist.gov/vuln/detail/CVE-2026-129502 and https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-29w6-p7r8-xmf9. 2. Upgrade affected deployments of @fastify/http-proxy to 11.6.10 or later. 3. Before changing production, verify the currently installed version and confirm the patched version is available in your package registry. 4. If an immediate upgrade is not possible, consider disabling websocket support as a temporary mitigating control while validating the impact with your application owner. 5. Monitor for repeated process crashes or restarts and inspect WebSocket upgrade paths for malformed URL fragments.