Nezha 2.0.0 before 2.4.0 contains a NULL pointer dereference vulnerability in ServiceSentinel.loadTodayStats that
Source GCVE Database
Not known to be exploited · CVSS 6.0 Medium : upgrade to 2.4.0 when convenient.
Data as of 30 Oct 2026, 23:42 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.0 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.3 |
- Patch
- Available – fixed in 2.4.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade nezha to 2.4.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| nezhahqnezha | Affected
| Fixed in
|
Gonezhapkg:golang/nezhaOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should manually remove orphaned service_histories rows after a service deletion to restore dashboard functionality. Monitor vendor advisories for an official fix or update. Until then, restrict authenticated user permissions to prevent unauthorized service deletions if possible.
Description
Nezha versions 2.0.0 up to but not including 2.4.0 contain a NULL pointer dereference vulnerability in the ServiceSentinel.loadTodayStats function. This flaw allows authenticated users to crash the dashboard by deleting a service, which leaves orphaned service_histories rows that cause the dashboard to crash on its next startup until these rows are manually removed.
References
- nvd.nist.gov/vuln/detail/CVE-2026-120046 (opens in a new tab)
- github.com/nezhahq/nezha/commit/efd3e07b901d6acf7ef2ab3b26458cc07e7605dc (opens in a new tab)
- github.com/nezhahq/nezha (opens in a new tab)
- github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/cmd/dashboard/controller/service.go (opens in a new tab)
- github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/service/singleton/servicesentinel.go (opens in a new tab)
- github.com/nezhahq/nezha/releases/tag/v2.4.0 (opens in a new tab)
- vulncheck.com/advisories/nezha-2.0.0-before-2.4.0-startup-null-pointer-dereference-via-orphaned-service-history (opens in a new tab)