CVE-2026-140102
HIGH 7.5CVSS 3.1http-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.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-248
- Also known as
- GHSA-hvp5-3mrg-q5hg
- Sources
- NVDJSONCVE ListJSONOSV GHSA-hvp5-3mrg-q5hgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | 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 | |
| OSV | npm | http-proxy-middleware | >= 0.8.0, < 2.0.12 | 2.0.12 |
| OSV | npm | http-proxy-middleware | >= 3.0.0-beta.0, < 3.0.11 | 3.0.11 |
| OSV | npm | http-proxy-middleware | >= 4.0.0-beta.0, < 4.2.2 | 4.2.2 |
References
- https://github.com/chimurai/http-proxy-middleware/commit/386bed662facba30c5602ca211a5399f09cdd715 · x_refsource_MISC, WEB
- https://github.com/chimurai/http-proxy-middleware/commit/6911b4daefaa138767d4e4c35302b6dea2e2b64a · x_refsource_MISC, WEB
- https://github.com/chimurai/http-proxy-middleware/commit/c82e123f831bae1f46d1d06d9c035e385771b7b9 · x_refsource_MISC, WEB
- https://github.com/chimurai/http-proxy-middleware/pull/1328 · x_refsource_MISC, WEB
- https://github.com/chimurai/http-proxy-middleware/pull/1329 · x_refsource_MISC, WEB
- https://github.com/chimurai/http-proxy-middleware/pull/1330 · x_refsource_MISC, WEB
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.11 · x_refsource_MISC, WEB
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.2.2 · x_refsource_MISC, WEB
- https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-hvp5-3mrg-q5hg · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-140102 · ADVISORY
- https://github.com/chimurai/http-proxy-middleware · PACKAGE
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.12 · WEB
History
- 1 Dec 2026 19:42 UTC · OSV: first stored (published 1 Dec 2026)
- 1 Dec 2026 19:19 UTC · NVD: 1 reference added
- 1 Dec 2026 19:06 UTC · CVE List: updated (other details)
- 30 Nov 2026 23:42 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 22:53 UTC · CVE List: first stored (published 30 Nov 2026)