CVE-2026-140102
7.5high
http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.02% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| chimurai http-proxy-middleware | >= 0.8.0, < 2.0.12, >= 3.0.0-beta.0, < 3.0.11, >= 4.0.0-beta.0, < 4.2.2 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-140102 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-140102 changed 2026-11-30 | Public domain |