---
id: CVE-2026-73561
title: Hub is a Node.js WebSocket server and client with added features
summary: >-
  Hub is a Node.js WebSocket server and client with added features. Prior to
  0.2.16, every incoming unauthenticated WebSocket connection triggers
  loadDefaultConnectionEventListeners to call requestClientId, which calls
  rpc.send for the get…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
published: '2026-08-13'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T20:30:11.423'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73561'
references:
  - url: >-
      https://github.com/anephenix/hub/commit/931576db3cdbf4f1583bd2c3c8759c4f4e032ab3
    label: security-advisories@github.com
  - url: 'https://github.com/anephenix/hub/security/advisories/GHSA-g5vv-q72c-7j78'
    label: security-advisories@github.com
  - url: 'https://github.com/anephenix/hub/tree/v0.2.16'
    label: security-advisories@github.com
  - url: 'https://github.com/anephenix/hub/security/advisories/GHSA-g5vv-q72c-7j78'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00609
epssPercentile: 0.46928
ingestedAt: '2026-09-10T21:05:53.596Z'
---

## Overview

Hub is a Node.js WebSocket server and client with added features. Prior to 0.2.16, every incoming unauthenticated WebSocket connection triggers loadDefaultConnectionEventListeners to call requestClientId, which calls rpc.send for the get-client-id action and pushes a request into RPC.requests. The RPC.waitForReply function starts a setInterval polling loop every 10 milliseconds that is cleared only after a matching reply; if the client remains silent and closes, the timer and pending request stay allocated because the socket close path does not cancel them. Repeated connections therefore cause unbounded timers and heap entries, exhausting CPU and memory and making the server unavailable. This issue is fixed in version 0.2.16.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
