CVE-2026-53522nezhahq nezha
Medium 6.5
Follow: this CVE · nezhahq · nezhahq nezha We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 12, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for nezha.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/nezhahq/nezha |
≥ 1.0.0 < 2.2.0 |
2.2.0 |
go get github.com/nezhahq/nezha@v2.2.0 |
| Go | github.com/nezhahq/nezha |
≥ 1.0.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-jg62-j5h6-8mpq, GO-2026-5831). Check the version in your lockfile before upgrading.
Affected products
- nezhahq · nezha
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.