CVE-2026-140102
JSON

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 packageVersionsReported 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.2CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140102 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-140102 changed 2026-11-30Public domain