CVE-2026-140102
Received
Received - Intake
TCP Connection Reset in http-proxy-middleware
Vulnerability report for CVE-2026-140102, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-30
Last updated on: 2026-11-30
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| nodejs | http-proxy-middleware | From 0.8.0 (inc) to 2.0.12 (inc) |
| nodejs | http-proxy-middleware | 2.0.12 |
| nodejs | http-proxy-middleware | 3.0.11 |
| nodejs | http-proxy-middleware | 4.2.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-248 | An exception is thrown from a function, but it is not caught. |