CVE-2026-140102

7.5High

Published Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-248

What an attacker gets

Unauthenticated attackers can crash your Node.js gateway process by sending a specific Upgrade request. This leads to a denial of service for the entire application.

Root cause

The proxy fails to attach an error listener to the raw socket when a path filter mismatch occurs, causing an unhandled ECONNRESET error.

Affected versions

http-proxy-middleware 0.8.0 through 2.0.11, 3.0.0 through 3.0.10, and 4.0.0 through 4.2.1

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Fix & remediation

Upgrade to version 2.0.12, 3.0.11, or 4.2.2 depending on your major version branch.

remediation — bash
$ npm install http-proxy-middleware@latest

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-140102

More fully triaged vulnerabilities you may want to check next.