Unhandled socket error in @fastify/http-proxy WebSocket upgrade crashes Node.js
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-248.
Summary
@fastify/http-proxy from 9.0.0 before 11.6.10 is affected when WebSocket support is enabled. The plugin dispatches each upgraded socket through the Fastify router before the WebSocket library takes ownership, leaving a window where a socket error is unhandled (CWE-248). An unauthenticated remote attacker can send a single upgrade request followed by a connection reset to terminate the Node.js process, and repeating it keeps the server down.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Description from the CNA
@fastify/http-proxy is a Fastify plugin that proxies HTTP and WebSocket traffic to an upstream server. In versions from 9.0.0 up to but not including 11.6.10, when the plugin is registered with websocket support enabled, it takes every upgraded socket and dispatches the request through the Fastify router before the WebSocket library takes ownership of the socket. 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, so a socket error such as a client connection reset that arrives before the WebSocket library takes over 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 in the application. 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, and users should upgrade to 11.6.10 or later.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade @fastify/http-proxy to version 11.6.10 or later, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
- Fix · CNA @fastify/http-proxy (@fastify/http-proxy) Fixed in 11.6.10
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
@fastify/http-proxy 11.6.10
5 records Highest priority Priority LOW 5 LOW
Other records, highest priority first
- TI-2026-95079 Denial of service in @fastify/http-proxy via WebSocket upgrade URL fragmentPriority LOW 39
- TI-2026-95071 Denial of service in @fastify/http-proxy via pipelined WebSocket upgradePriority LOW 39
- TI-2026-95076 Path traversal in @fastify/http-proxy via semicolon path parametersPriority LOW 29
Timeline
- 2026-11-19 Threatist record created from CVE-2026-129500
References
More fastify vulnerabilities
- TI-2026-26180 @fastify/express vulnerable to middleware authentication bypass via URL normalization… CVSS 4.0CRITICAL 9.1
- TI-2026-26179 @fastify/express vulnerable to middleware path doubling causing authentication bypass in child plugin scopes CVSS 3.1CRITICAL 9.1
- TI-2026-26177 @fastify/reply-from vulnerable to connection header abuse enabling stripping of proxy-added headers CVSS 4.0CRITICAL 9.0
- TI-2026-05498 @fastify/middie vulnerable to middleware authentication bypass in child plugin scopes CVSS 3.1CRITICAL 9.1
- TI-2023-15307 Cross-site request forgery in npm @fastify/oauth2 CVSS 3.1HIGH 8.8
- TI-2026-17731 @fastify/express vulnerable to Improper Handling of URL Encoding (Hex Encoding) CVSS 3.1HIGH 8.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences