CVE-2026-73561

Hub: Unauthenticated WebSocket RPC Waiter Resource Exhaustion

Published Aug 13, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Anephenix
Anephenix hub
Vendors & Products Anephenix
Anephenix hub
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'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 18, 2026, 1:27 AM
Reserved
Aug 12, 2026, 8:53 PM
Status
Awaiting Analysis
Published
Aug 13, 2026, 6:18 PM
Modified
Oct 24, 2026, 3:10 PM