# CVE-2026-53522: Nezha Monitoring: Unbounded WebSocket Streams — Resource Exhaustion DoS

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-12T21:04:38.357Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-jg62-j5h6-8mpq, GO-2026-5831
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nezhahq nezha: >= 1.0.0, < 2.2.0
- github.com/nezhahq/nezha (Go): from 1.0.0 before 2.2.0; from 1.0.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nezhahq/nezha/security/advisories/GHSA-jg62-j5h6-8mpq> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53522> (advisory)
- <https://github.com/nezhahq/nezha> (package)

## Sources

- CVE List: [CVE-2026-53522](https://www.cve.org/CVERecord?id=CVE-2026-53522), CVE Terms of Use, modified 2026-06-15
- GitHub Advisory Database: [GHSA-jg62-j5h6-8mpq](https://github.com/advisories/GHSA-jg62-j5h6-8mpq), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5831](https://pkg.go.dev/vuln/GO-2026-5831), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-53522](https://nvd.nist.gov/vuln/detail/CVE-2026-53522), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-53522 · Whole record: https://cve.day/CVE-2026-53522.json · Rebuilt by cve.day 2026-11-25T22:59:24.592Z
