CVE-2026-120046
published medium CVSS 4.0 · 6.0Nezha 2.0.0 before 2.4.0 Startup NULL Pointer Dereference via Orphaned Service History
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nezhahq | — | nezha2.0.0 to < 2.4.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nezhahq | nezha | 2.0.0 to < 2.4.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-476 NULL Pointer Dereference
References
6- https://github.com/nezhahq/nezha
- Service deletion leaves service_histories rows (2.3.18) https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/cmd/dashboard/controller/service.go#L639
- loadTodayStats unchecked map dereference (2.3.18) https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/service/singleton/servicesentinel.go#L434
- Patch Commit https://github.com/nezhahq/nezha/commit/efd3e07b901d6acf7ef2ab3b26458cc07e7605dc
- nezha v2.4.0 Release Notes https://github.com/nezhahq/nezha/releases/tag/v2.4.0
- VulnCheck Advisory: Nezha 2.0.0 before 2.4.0 Startup NULL Pointer Dereference via Orphaned Service History https://www.vulncheck.com/advisories/nezha-2.0.0-before-2.4.0-startup-null-pointer-dereference-via-orphaned-service-history
Provider assertions
2VulnCheck · cna
Nezha 2.0.0 before 2.4.0 Startup NULL Pointer Dereference via Orphaned Service History
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8a1900e16e7a158894131168f4925ac222f941ee84f4491521b796c953cfd7c8
- Ingested
- 05 Nov 2026, 02:31:55 UTC
- Source record
- Official CVE record