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)
AI summary AI generated
An unauthenticated remote attacker can send an Upgrade request and reset the TCP connection to crash the gateway process in http-proxy-middleware, a Node.js proxy middleware.
Mitigation
- Upgrade http-proxy-middleware to 4.2.2 or later.
Who should check
- Anyone running 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
Vulnerability facts
- Affected
- 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
- Fixed in
- chimurai http-proxy-middleware 2.0.12, chimurai http-proxy-middleware 3.0.11, chimurai http-proxy-middleware 4.2.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- CWE
- CWE-248
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 | — | cvelist |
Versions mentioned in the description AI generated
Extracted by AI; each line quotes the description word for word. Source data above takes precedence.
- Affected: http-proxy-middleware From 0.8.0 until 2.0.12, 3.0.11, and 4.2.2
From 0.8.0 until 2.0.12, 3.0.11, and 4.2.2
- Fixed: http-proxy-middleware 2.0.12
This issue is fixed in versions 2.0.12, 3.0.11, and 4.2.2.
- Fixed: http-proxy-middleware 3.0.11
This issue is fixed in versions 2.0.12, 3.0.11, and 4.2.2.
- Fixed: http-proxy-middleware 4.2.2
This issue is fixed in versions 2.0.12, 3.0.11, and 4.2.2.
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-140102. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-140102.md Affected: 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 Fixed in: chimurai http-proxy-middleware 2.0.12, chimurai http-proxy-middleware 3.0.11, chimurai http-proxy-middleware 4.2.2 Steps: 1. Search this machine and project for chimurai http-proxy-middleware: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Vendor advisories
Patches
- 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/commit/386bed662facba30c5602ca211a5399f09cdd715
- https://github.com/chimurai/http-proxy-middleware/commit/6911b4daefaa138767d4e4c35302b6dea2e2b64a
- https://github.com/chimurai/http-proxy-middleware/commit/c82e123f831bae1f46d1d06d9c035e385771b7b9
FAQ
Is CVE-2026-140102 being exploited?
There is no confirmed exploitation: CVE-2026-140102 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-140102?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-140102?
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.
Is there a fix for CVE-2026-140102?
Yes. Fixed in chimurai http-proxy-middleware 2.0.12, chimurai http-proxy-middleware 3.0.11, chimurai http-proxy-middleware 4.2.2. Upgrade http-proxy-middleware to 4.2.2 or later.
How do I check if I'm affected by CVE-2026-140102?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More chimurai vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 5.4 | CVE-2026-140103 http-proxy-middleware smuggles a second request when fixRequestBody runs before body arrival | Express+2 |