Skip to content
OpenAdvisories
High · 7.5 CVE-2026-86065 EUVD-2026-85575GHSA-4fwh-wrm6-97xmGO-2026-6581

Klever-Go: Unauthenticated WebSocket /subscribe: no read-size limit, no connection cap, permissive origin -> remote node memory/goroutine exhaustion (DoS)

Published Sep 23, 2026 · Updated Sep 29, 2026 · Assigned by GitHub_M

Description

Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.20, the default-open GET /subscribe endpoint in network/api/websocket/routes.go accepts unauthenticated WebSocket clients with permissive origin handling, does not call SetReadLimit to bound message size, and has no live-connection cap. SocketHub.HandleClientInsertion also accepts an unbounded address list that grows addressSubscription, and client.loopIn continues reading without a size limit, allowing one client to grow subscription maps or many clients to retain goroutines, buffered channels, and descriptors. The global HTTP request throttler does not count upgraded live WebSocket connections. Because the REST and WebSocket API runs in the node process, memory or scheduler exhaustion can crash the node and interrupt P2P and consensus participation. This issue is fixed in version 1.7.20.

Affected products

VendorProductAffectedFixed
klever-io klever-go < 1.7.20 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/klever-io/klever-go < 1.7.20 1.7.20 GHSA-4fwh-wrm6-97xm

References