CVE-2026-53522
MEDIUM 6.5CVSS 3.1Nezha Monitoring: Unbounded WebSocket Streams — Resource Exhaustion DoS
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.
- Published
- 12 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-jg62-j5h6-8mpqGO-2026-5831
- Sources
- NVDJSONOSV GHSA-jg62-j5h6-8mpqJSONOSV GO-2026-5831JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/nezhahq/nezha | >= 1.0.0, < 2.2.0 | 2.2.0 |
| OSV | Go | github.com/nezhahq/nezha | >= 1.0.0 |
References
- https://github.com/nezhahq/nezha/security/advisories/GHSA-jg62-j5h6-8mpq · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-53522 · ADVISORY
- https://github.com/nezhahq/nezha · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 12 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Jun 2026)