Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M

CVE-2026-46716Nezha Monitoring: RoleMember can run shell on every server (cross-tenant RCE) via POST /api/v1/cron

Critical 9.9

In plain English

A critical-severity OS command injection in nezha from nezhahq. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.9Critical
Exploit odds (30 days)0.4%top 62.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. From version 1.4.0 to before version 2.0.8, a RoleMember user can create a scheduled cron task with Cover=CronCoverAll, Servers=[] and an arbitrary Command. At every tick of the scheduler, the dashboard pushes that command to every server in the global ServerShared map — including servers that belong to other tenants (admin's servers, other members' servers). Each agent runs the command and returns the output, which is then sent to the attacker's own NotificationGroup → attacker-controlled webhook. This issue has been patched in version 2.0.8.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/nezhahq/nezha1.14.15-0.20260517022419-d7526351cf97GHSA-99gv-2m7h-3hh9
Gogithub.com/nezhahq/nezha1.14.15-0.20260517022419-d7526351cf97GO-2026-5282

Affected products (as reported)

VendorProductVersions
nezhahq nezha >= 1.4.0, < 2.0.8

Weakness: CWE-78, CWE-269, CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References