CVE-2026-46716: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nezhahq nezha
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.
AI Analysis
Technical Summary
Nezha Monitoring, a self-hostable server and website monitoring tool, suffers from an OS command injection vulnerability (CWE-78) in versions >=1.4.0 and <2.0.8. A user with RoleMember privileges can create a scheduled cron task with a specific configuration (Cover=CronCoverAll, Servers=[]) and an arbitrary command. This command is executed on every server in the global ServerShared map, including servers belonging to other tenants. The command output is returned and sent to the attacker's NotificationGroup webhook, enabling unauthorized command execution across multiple tenants. The issue is fixed in version 2.0.8.
Potential Impact
An attacker with RoleMember privileges can execute arbitrary OS commands on all servers managed by the Nezha Monitoring instance, including those of other tenants and administrators. This leads to complete compromise of confidentiality, integrity, and availability (CVSS 9.9) of affected servers. The attacker can exfiltrate command output via a webhook under their control, potentially leading to data leakage and further system compromise.
Mitigation Recommendations
Upgrade Nezha Monitoring to version 2.0.8 or later, where this vulnerability is patched. No other mitigation or temporary workaround is documented. Patch status is confirmed by the vendor advisory indicating the fix in 2.0.8.
CVE-2026-46716: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nezhahq nezha
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.
CVSS v3.1
Score 9.9critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Nezha Monitoring, a self-hostable server and website monitoring tool, suffers from an OS command injection vulnerability (CWE-78) in versions >=1.4.0 and <2.0.8. A user with RoleMember privileges can create a scheduled cron task with a specific configuration (Cover=CronCoverAll, Servers=[]) and an arbitrary command. This command is executed on every server in the global ServerShared map, including servers belonging to other tenants. The command output is returned and sent to the attacker's NotificationGroup webhook, enabling unauthorized command execution across multiple tenants. The issue is fixed in version 2.0.8.
Potential Impact
An attacker with RoleMember privileges can execute arbitrary OS commands on all servers managed by the Nezha Monitoring instance, including those of other tenants and administrators. This leads to complete compromise of confidentiality, integrity, and availability (CVSS 9.9) of affected servers. The attacker can exfiltrate command output via a webhook under their control, potentially leading to data leakage and further system compromise.
Mitigation Recommendations
Upgrade Nezha Monitoring to version 2.0.8 or later, where this vulnerability is patched. No other mitigation or temporary workaround is documented. Patch status is confirmed by the vendor advisory indicating the fix in 2.0.8.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-15T23:26:58.310Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2c7c90e617e2d834c6c7a3
Added to database: 06/12/2026, 21:39:28 UTC
Last enriched: 06/19/2026, 22:18:42 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 221
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.