# 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)

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.0.12, 3.0.11, 4.2.2 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-01
- Aliases: GHSA-hvp5-3mrg-q5hg, CGA-mm2p-q4v7-7h7m, CGA-r2mh-9cq2-gvmq, CGA-w658-h2hh-rg4h, CGA-x28g-w5r6-f4vw, CGA-xx3v-xgpx-6v26, CGA-4hx4-3gp2-jvj7, CGA-76p4-wqjj-p923, CGA-7w8h-x45q-pfrr, CGA-8c6g-jxmj-c29g, CGA-8v7p-53mx-wgw8, CGA-8w9m-hcpr-gp59, CGA-gx5p-3p8f-7xmh, CGA-hj94-3727-wxf9, CGA-hwpx-p4qr-282v, CGA-jc9q-25pm-9645, CGA-r3cr-363m-w8pq, CGA-rjpx-x876-55pq, CGA-wx2w-h5fg-pr2p, CGA-x5h2-8hpc-r7v4, CGA-wx8x-g4gq-9mh2
- Record: https://cvemate.com/vulnerability/CVE-2026-140102 · JSON: https://cvemate.com/vulnerability/CVE-2026-140102/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.018%, percentile 64.471%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard arangodb-3.11 (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.12 (Chainguard): All versions (No fix recorded)
- chainguard argo-workflows-ui-3.7 (Chainguard): All versions (No fix recorded) \| \< 3.7.18-r18
- chainguard cubejs (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.4 (Chainguard): All versions (No fix recorded) \| \< 19.4.11-r8
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded) \| \< 19.5.9-r8
- chainguard gitlab-rails-ce-19.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- 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
- Npm http-proxy-middleware (Npm): ≥ 0.8.0, \< 2.0.12 \| ≥ 3.0.0-beta.0, \< 3.0.11 \| ≥ 4.0.0-beta.0, \< 4.2.2

## References

- <https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-hvp5-3mrg-q5hg>
- <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>
- <https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.11>
- <https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.2.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140102>
- <https://github.com/chimurai/http-proxy-middleware>
- <https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.12>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140102.json>

---

Data as of 2026-12-05T06:48:35.482Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
