freenode

← CVE tracker

CVE-2026-140102

http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)

Severity
high CVSS 7.5 (v3.1)
Affects
http-proxy-middleware · chimurai
Weakness
CWE-248: Uncaught Exception
Published
30 November 2026 by GitHub_M
http-proxy-middleware is node.js http-proxy middleware. From 0.8.0 until 2.0.12, 3.0.11, and 4.2.2, an Upgrade request whose path does not match pathFilter can leave the raw socket without an error listener when ws: true is enabled. A remote unauthenticated client can send such an Upgrade request and reset the TCP connection, causing an unhandled ECONNRESET error that terminates the gateway process even when middleware and server error callbacks are configured. This issue is fixed in versions 2.0.12, 3.0.11, and 4.2.2.

Our coverage

We have not written about this one. Know why it matters? Send a tip.