CVE-2026-129500: @fastify/http-proxy WebSocket DoS via unhandled socket error

@fastify/http-proxy before 11.6.10 can be crashed by a single unauthenticated WebSocket upgrade request followed by a connection reset when websocket support is enabled.

@fastify/http-proxy versions 9.0.0 up to but not including 11.6.10 are vulnerable to CVE-2026-129500, a remote denial-of-service when websocket support is enabled. Node.js removes its own error listener from the socket before emitting the upgrade event, and the plugin does not attach one of its own during routing. If a socket error such as a client connection reset arrives before the WebSocket library takes ownership, the error is unhandled and terminates the Node.js process. The error window is open whenever anything asynchronous runs between dispatch and the route handler, such as an async hook on the proxied route or any unrelated async route. A single unauthenticated upgrade request followed by a connection reset is enough to crash the server, and it can be repeated to keep the process down. The issue is fixed in @fastify/http-proxy 11.6.10.

What to do

1. Upgrade @fastify/http-proxy to 11.6.10 or later in all Node.js/Fastify services that use websocket proxying. 2. If you cannot upgrade immediately, temporarily disable websocket support on @fastify/http-proxy routes, because the vulnerable code path requires websocket support enabled. 3. Review the vendor advisory GHSA-q659-79j2-32h5 and the NVD entry for any additional mitigations or updated guidance, and verify the advisory before changing production. 4. After patching, verify that the service handles upgrade requests and connection resets without process termination. 5. Monitor for unexpected process exits and repeated crash attempts, especially if the service is internet-facing.

Sources

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-129500 - Vendor advisory: https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-q659-79j2-32h5 - NVD reference: https://cna.openjsf.org/security-advisories.html

Sources