HIGH · CVSS 7.5 Published: 2026-11-30
CVE-2026-140102 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-140102 |
|---|---|
| Base Severity / Score | HIGH (7.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Weakness Classification | CWE-248 |
| Archive Categories | HIGH Advisories · 2026 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- 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
Related Security Advisories
CVE-2026-140099 LOW 3.7
CVE-2026-140103 MEDIUM 5.4
CVE-2026-140281 HIGH 8.1
CVE-2026-139890 HIGH 7.3
CVE-2026-103657 HIGH 8.2