{"id":"CVE-2026-120046","kind":"vulnerability","aliases":["CVE-2026-120046"],"related":[],"title":"Nezha: deleting a service crashes the dashboard on next startup","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.","summary":"Nezha versions 2.0.0 before 2.4.0 have a NULL pointer dereference in ServiceSentinel.loadTodayStats. An authenticated user who deletes a service leaves orphaned service history rows that crash the non-TSDB dashboard on its next startup until those rows are removed manually.","severity":"medium","cvss":6.0,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["monitoring","nezha","other","self-hosted"],"not_affected_if":["tsdb-storage","version-2.4.0-or-later"],"how_to_check":"- Check the installed Nezha dashboard version and confirm whether it is below `2.4.0`.\n- Check whether the dashboard uses the non-TSDB storage mode (the sources do not name the setting).","fix":"- Move to Nezha `2.4.0` or later.","status":"open","published_at":"2026-10-30T19:18:22+00:00","first_seen_at":"2026-10-30T19:25:29+00:00","triaged_at":"2026-10-30T19:26:30+00:00","updated_at":"2026-10-30T19:26:30+00:00","category":"other","confidence":0.7,"triage":{"at":"2026-10-30T19:26:30Z","model":"claude-haiku-5-5","output":{"fix":"- Move to Nezha `2.4.0` or later.","reach":"network","title":"Nezha: deleting a service crashes the dashboard on next startup","impact":"low","summary":"Nezha versions 2.0.0 before 2.4.0 have a NULL pointer dereference in ServiceSentinel.loadTodayStats. An authenticated user who deletes a service leaves orphaned service history rows that crash the non-TSDB dashboard on its next startup until those rows are removed manually.","audience":"businesses","category":"other","nicknames":[],"who_cares":["nezha","self-hosted","monitoring"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"Dashboard crashes on startup until orphaned rows are removed manually","analyst_note":"","how_to_check":"- Check the installed Nezha dashboard version and confirm whether it is below `2.4.0`.\n- Check whether the dashboard uses the non-TSDB storage mode (the sources do not name the setting).\n- unknown for any command to inspect orphaned `service_histories` rows.","plain_action":"","needs_analyst":false,"not_affected_if":["version-2.4.0-or-later","tsdb-storage"],"who_is_affected":"Teams that run a self-hosted Nezha dashboard between version 2.0.0 and 2.4.0, where the non-TSDB mode is in use, are exposed. The attack needs a logged-in account that can delete services, so teams with only trusted accounts face low risk. Teams already on 2.4.0 or later can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000708,"input_tokens":4184,"output_tokens":580,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-120046':13A,16A '-2026':12A,15A '/api/v1/batch-delete/service':96C '2.0.0':25B,65C '2.4.0':27B,67C 'allow':77C 'attack':88C 'authent':36B,78C 'contain':68C 'crash':5A,48B,81C,103C 'cve':11A,14A 'dashboard':7A,53B,83C,108C 'delet':2A,39B,85C,90C 'derefer':32B,72C 'histori':45B,100C 'host':22B 'leav':42B,97C 'manual':63B,115C 'monitor':17B 'next':9A,56B,111C 'nezha':1A,18B,23B,64C 'non':51B,106C 'non-tsdb':50B,105C 'null':30B,70C 'orphan':43B,98C 'pointer':31B,71C 'post':95C 'remov':62B,114C 'row':46B,60B,101C 'self':21B 'self-host':20B 'servic':4A,41B,44B,87C,93C,99C 'servicesentinel.loadtodaystats':34B,75C 'startup':10A,57B,112C 'tsdb':52B,107C 'user':37B,79C 'version':24B 'via':94C 'vulner':73C","nicknames":[],"mitigations":[],"who_affected":"Teams that run a self-hosted Nezha dashboard between version 2.0.0 and 2.4.0, where the non-TSDB mode is in use, are exposed. The attack needs a logged-in account that can delete services, so teams with only trusted accounts face low risk. Teams already on 2.4.0 or later can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T19:18:22+00:00","kev":null,"cvss_vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-120046","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120046","severity":null,"published_at":"2026-10-30T19:18:22+00:00","modified_at":"2026-10-30T19:18:23+00:00","first_seen_at":"2026-10-30T19:25:29+00:00","fetched_at":"2026-10-30T19:25:29+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}