What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: nezhahq nezha 2.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-120046 or the next vulnerability affects your stack