Home › CVE › JavaScript
CVE-2026-140102 — chimurai http-proxy-middleware
One of 2 chimurai http-proxy-middleware vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
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.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| 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 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/chimurai/http-proxy-middleware/commit/386bed662facba30c5602c…
- github.com/chimurai/http-proxy-middleware/commit/6911b4daefaa138767d4e4…
- github.com/chimurai/http-proxy-middleware/commit/c82e123f831bae1f46d1d0…
- github.com/chimurai/http-proxy-middleware/pull/1328
- github.com/chimurai/http-proxy-middleware/pull/1329
- github.com/chimurai/http-proxy-middleware/pull/1330
- github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.11
- github.com/chimurai/http-proxy-middleware/releases/tag/v4.2.2
Affected
- chimurai http-proxy-middleware
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-140102?
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.
How severe is CVE-2026-140102?
CVE-2026-140102 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-140102 being exploited?
Not as far as is known: CVE-2026-140102 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026.
Which versions are affected by CVE-2026-140102?
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.
How do I fix CVE-2026-140102?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.