← Back to CVE Explorer

CVE-2026-53522

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
6.5 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-12 22:16:52.377000
Last modified
2026-10-25 23:10:00.167000
View original CVE JSON
{
  "id": "CVE-2026-53522",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-12T22:16:52.377",
  "lastModified": "2026-10-25T23:10:00.167",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Nezha Monitoring es una herramienta autoalojable, ligera, de monitoreo de servidores y sitios web y de O&M. Desde la versión 1.0.0 hasta antes de la versión 2.2.0, el panel de control de Nezha expone dos puntos finales que crean flujos de WebSocket de larga duración a agentes monitoreados: POST /api/v1/terminal ? createTerminal() (terminal.go:27-67) y POST /api/v1/file ? createFM() (fm.go:28-67). Ambos llaman a rpc.NezhaHandlerSingleton.CreateStream(streamId, ...) que inserta un nuevo ioStreamContext en un mapa sin límites map[string]ioStreamContext (s.ioStreams en io_stream.go:59-67). No hay límite de tasa por usuario, ningún semáforo global y ningún límite de conexión por servidor. Este problema ha sido parcheado en la versión 2.2.0."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "nezhahq",
          "product": "nezha",
          "versions": [
            {
              "version": ">= 1.0.0, < 2.2.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 6.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-15T17:03:17.090512Z",
          "id": "CVE-2026-53522",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-770"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/nezhahq/nezha/security/advisories/GHSA-jg62-j5h6-8mpq",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/nezhahq/nezha/security/advisories/GHSA-jg62-j5h6-8mpq",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}