# CVE-2026-120046: Nezha 2.0.0 before 2.4.0 Startup NULL Pointer Dereference via Orphaned Service History

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-10-30T18:52:58.489Z
- Modified: 2026-11-05T03:17:20.770Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- nezhahq nezha: from 2.0.0 before 2.4.0

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nezhahq/nezha/commit/efd3e07b901d6acf7ef2ab3b26458cc07e7605dc> (patch)
- <https://github.com/nezhahq/nezha/releases/tag/v2.4.0> (release-notes)
- <https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/service/singleton/servicesentinel.go#L434> (technical-description)
- <https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/cmd/dashboard/controller/service.go#L639> (technical-description)
- <https://github.com/nezhahq/nezha> (product)
- <https://www.vulncheck.com/advisories/nezha-2.0.0-before-2.4.0-startup-null-pointer-dereference-via-orphaned-service-history> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-120046](https://www.cve.org/CVERecord?id=CVE-2026-120046), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-120046](https://nvd.nist.gov/vuln/detail/CVE-2026-120046), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-120046 · Whole record: https://cve.day/CVE-2026-120046.json · Rebuilt by cve.day 2026-11-25T22:59:47.995Z
