Description
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.
Published: 2026-08-13
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Hub is a Node.js WebSocket server that, before version 0.2.16, starts an unbounded polling loop for every unauthenticated connection, allocating timers and heap entries that are never freed when the socket closes. This causes CPU and memory exhaustion, preventing the server from processing legitimate traffic and resulting in denial of service. The vulnerability is a classic example of an unregulated resource exhaustion flaw identified as CWE-400.

Affected Systems

Anephenix Hub, the Node.js WebSocket server and client, is affected in all releases prior to version 0.2.16. Users running 0.2.15 or earlier should verify their installed version and consider an update.

Risk and Exploitability

The CVSS score of 7.5 indicates a medium‑to‑high severity, and the EPSS score is not available, but the lack of authentication on WebSocket connections and the straightforward exploitation path suggest a high likelihood of attack. The vulnerability is not listed in CISA’s KEV catalog, but an attacker can trigger resource exhaustion simply by opening many unauthenticated WebSocket connections, which can be automated from a remote location.

Generated by OpenCVE AI on August 13, 2026 at 18:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Hub version 0.2.16 or later, which removes the unbounded timer allocation.
  • If an immediate upgrade is not feasible, restrict incoming WebSocket traffic by configuring a firewall or reverse proxy to allow connections only from trusted IP ranges.
  • Implement rate limiting on the WebSocket endpoint to cap the number of simultaneous connections or the frequency of new connections, reducing the chance of resource exhaustion.

Generated by OpenCVE AI on August 13, 2026 at 18:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g5vv-q72c-7j78 @anephenix/hub: Unauthenticated WebSocket RPC Waiter Resource Exhaustion
History

Thu, 13 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Hub: Unauthenticated WebSocket RPC Waiter Resource Exhaustion
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-13T17:24:34.761Z

Reserved: 2026-08-12T20:53:46.380Z

Link: CVE-2026-73561

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T18:18:18.490

Modified: 2026-08-13T18:18:18.490

Link: CVE-2026-73561

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T18:45:04Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption