Chimurai http-proxy-middleware
http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.8.0, < 2.0.12
- >= 3.0.0-beta.0, < 3.0.11
- >= 4.0.0-beta.0, < 4.2.2
Fixed in 2.0.12, 3.0.11, 4.2.2
Mitigation
Upgrade http-proxy-middleware to 2.0.12 or 3.0.11 or 4.2.2 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 1.8 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-140102 (created 2 Dec 2026, found by us: 2 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-140102 | 2 Dec 2026 +1.8 d | 2 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.