@fastify/http-proxy DoS via unhandled socket error (CVE-2026-130647)
An unauthenticated remote denial-of-service vulnerability affects @fastify/http-proxy versions 9.0.0 up to but not including 11.6.10 when WebSocket support is enabled. A crafted cleartext HTTP pipelining sequence can trigger an unhandled socket error that crashes the Node.js process. Fixed in 11.6.10.
Overview
CVE-2026-130647 is a denial-of-service vulnerability in the Fastify plugin @fastify/http-proxy. When the plugin is registered with WebSocket support enabled, an HTTP pipelined WebSocket upgrade on the same cleartext connection can cause the plugin's upgrade listener to return early without attaching an error listener to the raw socket. Node.js has already removed its own error listener before emitting the upgrade event, so a subsequent socket error (e.g. client connection reset) becomes unhandled and terminates the Node.js process.
A single unauthenticated connection that pipelines a WebSocket upgrade behind a normal HTTP request and then resets the connection is sufficient to crash the server. The attack can be repeated to keep the process down. TLS connections are not affected.
Affected versions
- Versions from 9.0.0 up to but not including 11.6.10.
Fixed version
- 11.6.10 (upgrade to this version or later).
For further details, verify against the vendor advisory and NVD references.
Sources: - https://nvd.nist.gov/vuln/detail/CVE-2026-130647 - https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-6fhg-8r33-fcww - https://cna.openjsf.org/security-advisories.html
What to do
1. Upgrade @fastify/http-proxy to version 11.6.10 or later in all Node.js applications that use this plugin with WebSocket support enabled. 2. If an immediate upgrade is not possible, disable WebSocket support (websocket: false) on the plugin as a temporary mitigation, and reassess before changing production. 3. Validate that your application's proxy configuration still meets requirements after upgrading; test the upgrade path with a pipeline/reset scenario to confirm the crash no longer occurs. 4. Review the vendor advisory at https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-6fhg-8r33-fcww for any additional recommended actions or configuration notes. 5. Monitor NVD and Fastify advisory channels for further updates if you cannot upgrade immediately.