Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

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)

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

chimurai http-proxy-middleware

  • >= 0.8.0, < 2.0.12affected
  • >= 3.0.0-beta.0, < 3.0.11affected
  • >= 4.0.0-beta.0, < 4.2.2affected

References