PT-2026-42871 · Unknown · Nezha Monitoring
Published
2026-05-23
·
Updated
2026-06-25
·
CVE-2026-46716
CVSS v3.1
9.9
Critical
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Nezha Monitoring versions 1.4.0 through 2.0.7
Description
An authorization bypass allows users with the
RoleMember role to execute arbitrary commands on all servers monitored by the dashboard, including those belonging to other tenants or administrators. This occurs because the cron task endpoints "/api/v1/cron" and "/api/v1/cron/:id" use a general handler that does not restrict access to administrators. Additionally, a permission check is bypassed when the Servers variable is left empty, allowing the creation of a scheduled task with Cover set to CronCoverAll.When the scheduler triggers, the dashboard pushes the arbitrary
Command to every server in the global ServerShared map. The agents, which typically run with root privileges, execute the command and return the output. This output is then exfiltrated to an attacker-controlled webhook via a NotificationGroup created by the member.Recommendations
Update to version 2.0.8.
Exploit
Fix
Missing Authorization
Improper Privilege Management
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Nezha Monitoring