Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

CVE-2026-46716: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nezhahq nezha

0
Critical
VulnerabilityCVE-2026-46716cvecve-2026-46716cwe-78cwe-269cwe-862
Published: 06/12/2026 (06/12/2026, 21:00:46 UTC)
Source: CVE Database V5
Vendor/Project: nezhahq
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
nezhahq/nezha
pkg:github/nezhahq/nezha
Affected versions
>=1.4.0 <2.0.8

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

AILast updated: 06/19/2026, 22:18:42 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses