Security mailing lists by PureSourceCode

CVE-2026-140102

HIGH 7.5CVSS 3.1

http-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed 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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.