http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)
Summary
| CVE | CVE-2026-140102 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 23:17:24 UTC |
| Updated | 2026-11-30 23:17:24 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-248 | CWE-248 CWE-248: Uncaught Exception
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Chimurai | Http-proxy-middleware | affected >= 0.8.0, < 2.0.12 | Not specified |
| CNA | Chimurai | Http-proxy-middleware | affected >= 3.0.0-beta.0, < 3.0.11 | Not specified |
| CNA | Chimurai | Http-proxy-middleware | affected >= 4.0.0-beta.0, < 4.2.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/chimurai/http-proxy-middleware/commit/6911b4daefaa138767d4e4c... | [email protected] | github.com | |
| github.com/chimurai/http-proxy-middleware/pull/1329 | [email protected] | github.com | |
| github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-hvp5-... | [email protected] | github.com | |
| github.com/chimurai/http-proxy-middleware/pull/1328 | [email protected] | github.com | |
| github.com/chimurai/http-proxy-middleware/pull/1330 | [email protected] | github.com | |
| github.com/chimurai/http-proxy-middleware/commit/386bed662facba30c5602ca... | [email protected] | github.com | |
| github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.11 | [email protected] | github.com | |
| github.com/chimurai/http-proxy-middleware/releases/tag/v4.2.2 | [email protected] | github.com | |
| github.com/chimurai/http-proxy-middleware/commit/c82e123f831bae1f46d1d06... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.