{"id":"CVE-2026-53522","published":"2026-06-12T21:04:38Z","modified":"2026-06-15T19:27:20Z","title":"Nezha Monitoring: Unbounded WebSocket Streams — Resource Exhaustion DoS","vendor":"nezhahq","product":"nezha","tier":"tail","description":{"text":"Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. From version 1.0.0 to before version 2.2.0, the Nezha dashboard exposes two endpoints that create long-lived WebSocket streams to monitored agents: POST /api/v1/terminal → createTerminal() (terminal.go:27-67) and POST /api/v1/file → createFM() (fm.go:28-67). Both call rpc.NezhaHandlerSingleton.CreateStream(streamId, ...) which inserts a new ioStreamContext into an unbounded map[string]*ioStreamContext (s.ioStreams in io_stream.go:59-67). There is no per-user rate limit, no global semaphore, and no per-server connection cap. This issue has been patched in version 2.2.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00348,"percentile":0.29222,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/nezhahq/nezha/security/advisories/GHSA-jg62-j5h6-8mpq","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":5.84},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"nezhahq","affectedVersions":[{"vendor":"nezhahq","product":"nezha","versions":[">= 1.0.0, < 2.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-15T17:03:17.090512Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/nezhahq/nezha","vulnerableRanges":[">=1.0.0, <2.2.0",">=1.0.0"],"patched":["2.2.0"],"from":["GHSA-jg62-j5h6-8mpq","GO-2026-5831"],"provenance":"source"}],"summary":{"text":"The Nezha Monitoring dashboard (nezhahq/nezha, versions 1.0.0 before 2.2.0) has an unbounded stream registry: its terminal and file-manager endpoints each open a long-lived WebSocket stream to a monitored agent, and every stream is stored in an unlimited map with no per-user rate limit, global cap, or per-server connection limit. An attacker with network access to the dashboard and a low-privilege authenticated account can repeatedly open these streams to exhaust server resources and cause denial of service, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:35Z"},"euvd":{"id":"EUVD-2026-36601","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-49397","published":"2026-06-12","fixed":"2.0.14","kev":false},{"cve":"CVE-2026-53520","published":"2026-06-12","fixed":"2.1.0","kev":false},{"cve":"CVE-2026-53521","published":"2026-06-12","fixed":"2.1.0","kev":false,"link":{"from":"CVE-2026-53521","to":"CVE-2026-53522","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/nezhahq/nezha","fromFixed":"2.1.0","toFixed":"2.2.0","daysApart":0}]}},{"cve":"CVE-2026-53522","published":"2026-06-12","fixed":"2.2.0","kev":false},{"cve":"CVE-2026-53523","published":"2026-06-12","fixed":"2.2.0","kev":false}],"package":"Go:github.com/nezhahq/nezha"}}