CVE-2026-73561
Hub: Unauthenticated WebSocket RPC Waiter Resource Exhaustion
Record summary
CVE-2026-73561 has a selected CVSS score of 7.5 (high).
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.
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
| CVE List | < 0.2.16 | affected | |
@anephenix/hubBrowse npm / @anephenix/hub | GitHub Advisory | Before 0.2.16 · Fixed in 0.2.16 | affected |