Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-145092

Nezha before 2.6.2 Memory Exhaustion DoS via Unbounded JSON in AfterFind

Description

Nezha before 2.6.2 contains an uncontrolled resource allocation vulnerability in the dashboard that persists unbounded ddns_profiles and skip_servers JSON values and re-parses them without size limits in GORM AfterFind hooks. Authenticated members with server or service write scopes can submit oversized arrays or maps via PATCH /server/:id, POST /service, or PATCH /service/:id, exhausting memory on every dashboard read and potentially crashing the process.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

nezhahq nezha

Default version status: unaffected

  • 0 to < 2.6.2affected
  • 2.6.2unaffected
pkg:golang/github.com/nezhahq/nezha

References