CVE-2026-120046: nezhahq nezha · NULL Pointer Dereference
Affects nezhahq nezhaSource CVE Database V5
Not known to be exploited · CVSS 6.0 Medium : upgrade to 2.4.0 when convenient.
Data as of 30 Oct 2026, 19:19 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 nezhahq 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
Upgrade Nezha to version 2.4.0 or later, where this vulnerability is fixed. Until upgraded, avoid allowing users to delete services or manually clean orphaned service_histories rows to prevent dashboard crashes.
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. Authenticated users can exploit this by deleting their own service via the API endpoint POST /api/v1/batch-delete/service, which leaves orphaned service_histories rows. These orphaned rows cause the non-TSDB dashboard to crash on its next startup until the data is manually cleaned. This issue is fixed in version 2.4.0.
References
- github.com/nezhahq/nezha/commit/efd3e07b901d6acf7ef2ab3b26458cc07e7605dc (opens in a new tab)
- github.com/nezhahq/nezha/releases/tag/v2.4.0 (opens in a new tab)
- github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/service/singleton/servicesentinel.go (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 (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)