nday
CVE-2026-140102 GHSA-hvp5-3mrg-q5hg

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

chimurai / http-proxy-middleware

Patch on record 1 day after disclosure. Patched: fixed in http-proxy-middleware 2.0.12, http-proxy-middleware 3.0.11 and 1 more. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from the CNA GitHub_M
npm
GHSA-hvp5-3mrg-q5hg: npm packages http-proxy-middleware
stage
PAT
disclosed
disclosure → patch
T+1d
cvss
7.5 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-30T22:40Z
PATpatch
12-01T19:01Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 7.5, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , observed live · raw
{
  "id": 563084,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-140102",
  "occurred_at": "2026-11-30T22:40:00.063Z",
  "observed_at": "2026-11-30T23:00:12.614178Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "version": "3.1",
      "base_score": 7.5,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-12-01T18:54:44.515010Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-30T22:40:00.063Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed versions http-proxy-middleware 2.0.12, http-proxy-middleware 3.0.11, and http-proxy-middleware 4.2.2. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-hvp5-3mrg-q5hg · nday , observed live · raw
{
  "id": 564655,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-hvp5-3mrg-q5hg",
  "occurred_at": null,
  "observed_at": "2026-12-01T19:01:02.580899Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-hvp5-3mrg-q5hg",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 7.5,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Uncaught Exception",
        "cwe_id": "CWE-248"
      }
    ],
    "ghsa_id": "GHSA-hvp5-3mrg-q5hg",
    "packages": [
      {
        "name": "http-proxy-middleware",
        "ecosystem": "npm",
        "first_patched_version": "2.0.12",
        "vulnerable_version_range": ">= 0.8.0, < 2.0.12"
      },
      {
        "name": "http-proxy-middleware",
        "ecosystem": "npm",
        "first_patched_version": "3.0.11",
        "vulnerable_version_range": ">= 3.0.0-beta.0, < 3.0.11"
      },
      {
        "name": "http-proxy-middleware",
        "ecosystem": "npm",
        "first_patched_version": "4.2.2",
        "vulnerable_version_range": ">= 4.0.0-beta.0, < 4.2.2"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-hvp5-3mrg-q5hg",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-140102",
      "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/v2.0.12",
      "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://github.com/advisories/GHSA-hvp5-3mrg-q5hg"
    ],
    "fix_commit_urls": [
      "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"
    ],
    "github_reviewed_at": "2026-12-01T18:41:09Z",
    "advisory_updated_at": "2026-12-01T18:41:11Z",
    "source_code_location": "https://github.com/chimurai/http-proxy-middleware",
    "advisory_published_at": "2026-12-01T18:41:09Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.