AploSec / Disclosures / CVE-2026-120046

Medium 6.0ReportedFixed in 2.4.0CWE-476Go

Nezha 2.0.0 before 2.4.0 Startup NULL Pointer Dereference via Orphaned Service History

CVE-2026-120046 · published 2026-10-30

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.

Summary

CVE-2026-120046 affects nezha (Go) >= 2.0.0, < 2.4.0: Startup NULL pointer dereference via orphaned service history (CWE-476). Fixed in 2.4.0. CVSS 4.0 base score 6.0 (Medium), assigned by VulnCheck. Published 2026-10-30 by VulnCheck. Credit: Zachariah Mithani.

Nezha 2.0.0 before 2.4.0 contains a NULL pointer dereference in ServiceSentinel.loadTodayStats. An authenticated user who deletes their own service via POST /api/v1/batch-delete/service leaves orphaned service_histories rows that crash the non-TSDB dashboard on its next startup until removed manually.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade nezha to 2.4.0 or later. Releases in the affected range (>= 2.0.0, < 2.4.0) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-10-30 CVE published
  • 2026-11-05 Public record last updated

References

Severity
Medium 6.0CVSS 4.0, scored by VulnCheck in the CVE record
Package
nezha
Ecosystem
Go
Affected
>= 2.0.0, < 2.4.0
Fixed
2.4.0
Weakness
CWE-476
CNA
VulnCheck
Credit
Zachariah Mithanifinder