Nezha 2.0.0 before 2.4.0 Startup NULL Pointer Dereference via Orphaned Service History
CVE-2026-120046Published 30 Oct 2026, 18:52 UTC
Real-world risk
0.4/ 10Low
Routine
If the vulnerable configuration applies to you: 0.9
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.0
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| nezhaCommon | >= 2.0.0, < 2.4.0 | 2.4.0 |
What to do
Update to a fixed version: 2.4.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 36), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.122
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.1215 × threat 0.850.413
- Rounded to one decimal between 0.1 and 100.4
Exploitation and evidence timeline
- 30 Oct 2026 Published
- 3 Dec 2026 Risk 0.4 (cvss fallback)
Weakness
CWE-476
References
- https://github.com/nezhahq/nezha/commit/efd3e07b901d6acf7ef2ab3b26458cc07e7605dcpatch
- https://github.com/nezhahq/nezha/releases/tag/v2.4.0release-notes
- https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/service/singleton/servicesentinel.go#L434technical-description
- https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/cmd/dashboard/controller/service.go#L639technical-description
- https://github.com/nezhahq/nezhaproduct
- https://www.vulncheck.com/advisories/nezha-2.0.0-before-2.4.0-startup-null-pointer-dereference-via-orphaned-service-historythird-party-advisory
- CVE-2026-120046 on CVE.org