{"id":"CVE-2026-120046","state":"PUBLISHED","title":"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.","publishedAt":"2026-10-30T18:52:58.489Z","updatedAt":"2026-10-30T18:52:58.489Z","severity":{"score":6,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["nezhahq nezha"],"affected":[{"vendor":"nezhahq","product":"nezha","packageURL":"pkg:golang/github.com/nezhahq/nezha","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThan":"2.4.0","versionType":"semver"}]}],"references":["https://github.com/nezhahq/nezha/commit/efd3e07b901d6acf7ef2ab3b26458cc07e7605dc","https://github.com/nezhahq/nezha/releases/tag/v2.4.0","https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/service/singleton/servicesentinel.go#L434","https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/cmd/dashboard/controller/service.go#L639","https://github.com/nezhahq/nezha","https://www.vulncheck.com/advisories/nezha-2.0.0-before-2.4.0-startup-null-pointer-dereference-via-orphaned-service-history"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-30T19:00:06.316Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120046.json","commit":"517ce08d82effc9f265e15e818f17b398c5280d9","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120046","state":"PUBLISHED","datePublished":"2026-10-30T18:52:58.489Z","dateUpdated":"2026-10-30T18:52:58.489Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-30T18:41:10.405Z"},"containers":{"cna":{"title":"Nezha 2.0.0 before 2.4.0 Startup NULL Pointer Dereference via Orphaned Service History","descriptions":[{"lang":"en","value":"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":[{"vendor":"nezhahq","product":"nezha","packageURL":"pkg:golang/github.com/nezhahq/nezha","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThan":"2.4.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/nezhahq/nezha/commit/efd3e07b901d6acf7ef2ab3b26458cc07e7605dc","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/nezhahq/nezha/releases/tag/v2.4.0","name":"nezha v2.4.0 Release Notes","tags":["release-notes"]},{"url":"https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/service/singleton/servicesentinel.go#L434","name":"loadTodayStats unchecked map dereference (2.3.18)","tags":["technical-description"]},{"url":"https://github.com/nezhahq/nezha/blob/9881c47f0cc92256ba203919da5a25fab79a6bad/cmd/dashboard/controller/service.go#L639","name":"Service deletion leaves service_histories rows (2.3.18)","tags":["technical-description"]},{"url":"https://github.com/nezhahq/nezha","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/nezha-2.0.0-before-2.4.0-startup-null-pointer-dereference-via-orphaned-service-history","name":"VulnCheck Advisory: Nezha 2.0.0 before 2.4.0 Startup NULL Pointer Dereference via Orphaned Service History","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"NULL Pointer Dereference","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-30T18:52:58.489Z"},"datePublic":"2026-10-21T00:00:00.000Z","credits":[{"lang":"en","value":"Zachariah Mithani (AploSec)","type":"finder"},{"lang":"en","value":"naiba","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}