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)
Vulnerability · Reported by NVD · · CWE-248
- Severity
- High Risk score 75/100
- CVSS
- 7.5 v3.1 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could crash or disrupt the service.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Tags
CVE-2026-140102
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-140102 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.