CVE-2026-120046
Dashboard / Vulnerabilities / CVE-2026-120046
CVE-2026-120046
Summary: Nezha 2.0.0 before 2.4.0 Startup NULL Pointer Dereference via Orphaned Service History
Details: Nezha 2.0.0 before 2.4.0 contains a NULL pointer dereference vulnerability in ServiceSentinel.loadTodayStats that allows authenticated users to crash the dashboard by deleting a service. Attackers can delete their own service via POST /api/v1/batch-delete/service, leaving orphaned service_histories rows that crash the non-TSDB dashboard on its next startup until removed manually.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120046.json, https://github.com/nezhahq/nezha/releases/tag/v2.4.0, https://nvd.nist.gov/vuln/detail/CVE-2026-120046, https://www.vulncheck.com/advisories/nezha-2.0.0-before-2.4.0-startup-null-pointer-dereference-via-orphaned-service-history, https://github.com/nezhahq/nezha/commit/efd3e07b901d6acf7ef2ab3b26458cc07e7605dc, https://github.com/nezhahq/nezha, https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/cmd/dashboard/controller/service.go#L639, https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/service/singleton/servicesentinel.go#L434
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
