CVE-2026-140102
published high CVSS 3.1 · 7.5http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| chimurai | http-proxy-middleware | >= 0.8.0, < 2.0.12 (affected)>= 3.0.0-beta.0, < 3.0.11 (affected)>= 4.0.0-beta.0, < 4.2.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-248 CWE-248: Uncaught Exception
References
9- https://github.com/chimurai/http-proxy-middleware/commit/386bed662facba30c5602ca211a5399f09cdd715
- https://github.com/chimurai/http-proxy-middleware/commit/6911b4daefaa138767d4e4c35302b6dea2e2b64a
- https://github.com/chimurai/http-proxy-middleware/commit/c82e123f831bae1f46d1d06d9c035e385771b7b9
- https://github.com/chimurai/http-proxy-middleware/pull/1328
- https://github.com/chimurai/http-proxy-middleware/pull/1329
- https://github.com/chimurai/http-proxy-middleware/pull/1330
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.11
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.2.2
- https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-hvp5-3mrg-q5hg
Provider assertions
2GitHub_M · cna
http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8ef33a955a232aa3e95e53dc7890a80925e401a7ad226975a7fe90c26a889ed3
- Ingested
- 01 Dec 2026, 19:00:10 UTC
- Source record
- Official CVE record