Read the docs

http-proxy-middleware unauthenticated crash via unhandled ECONNRESET

Priority MEDIUM 48CWE-248Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-248.

Summary

http-proxy-middleware from 0.8.0 before 2.0.12, from 3.0.0-beta.0 before 3.0.11, and from 4.0.0-beta.0 before 4.2.2 is affected when ws: true is enabled. An Upgrade request whose path does not match pathFilter can leave the raw socket without an error listener. A remote unauthenticated attacker can reset the TCP connection, causing an unhandled ECONNRESET that terminates the gateway process even when error callbacks are configured. The flaw is classified as CWE-248.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

Description from the CNA

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.

Why it matters now

Fix Fixed http-proxy-middleware (chimurai): 2.0.12, 3.0.11, 4.2.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
chimuraihttp-proxy-middleware0.8.0 to before 2.0.12; 3.0.0-beta.0 to before 3.0.11; 4.0.0-beta.0 to before 4.2.22.0.12, 3.0.11, 4.2.2Patch availableCNA
  • http-proxy-middleware Vendorchimurai Affected 0.8.0 to before 2.0.12; 3.0.0-beta.0 to before 3.0.11; 4.0.0-beta.0 to before 4.2.2 Fixed in 2.0.12, 3.0.11, 4.2.2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:chimurai:http-proxy-middleware:*:*:*:*:*:*:*:*——chimurai
  • cpe:2.3:a:chimurai:http-proxy-middleware:*:*:*:*:*:*:*:* Versions — — ·chimurai

Remediation

Upgrade http-proxy-middleware to version 2.0.12, 3.0.11, or 4.2.2, depending on the release line in use. The sources list no fixed version for other releases in these lines.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

  • Fix · CNA http-proxy-middleware (chimurai) Fixed in 2.0.12, 3.0.11, 4.2.2

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-140102

References

  • TI-2024-14292 Uncontrolled resource consumption in http-proxy-middleware CVSS 4.0HIGH 8.7
  • TI-2026-40136 http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass CVSS 4.0MEDIUM 6.9
  • TI-2026-40137 http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody` CVSS 3.1HIGH 7.5
  • TI-2025-24004 In http-proxy-middleware before 2.0.8 and 3.x before 3.0.4, writeBody can be called twice because "else if" is not used. CVSS 3.1MEDIUM 5.3
  • TI-2025-24005 In http-proxy-middleware before 2.0.9 and 3.x before 3.0.5, fixRequestBody proceeds even if bodyParser has failed. CVSS 3.1MEDIUM 5.3

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences