All vulnerabilities

npm

CVE-2026-140102

http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)

Severity
High 7.5
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
2.0.12, 3.0.11, 4.2.2
Exploit chance
1% in the next 30 daysHigher than 64% of CVEs. EPSS by FIRST, 1 Dec 2026
Weakness
Uncaught exception (CWE-248)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Also known as
GHSA-hvp5-3mrg-q5hg
Sources
OSV.dev and GitHub

Description

A remote unauthenticated attacker can crash the whole gateway process with a single Upgrade request and a TCP RST, even when on.error and the server's error and clientError events are all handled.

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
http-proxy-middlewarenpm · osv:npm:http-proxy-middleware
  • From 0.8.0 before 2.0.12
  • From 3.0.0-beta.0 before 3.0.11
  • From 4.0.0-beta.0 before 4.2.2

About http-proxy-middleware

Weekly downloads (npm)
28,401,758npm, 1 Dec 2026

Vulnerabilities in http-proxy-middleware

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for http-proxy-middleware

References