Command Injection Affecting github.com/nezhahq/nezha/cmd/dashboard/controller package, versions >=1.4.0 <2.0.8


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMNEZHAHQNEZHACMDDASHBOARDCONTROLLER-17674580
  • published29 Jun 2026
  • disclosed12 Jun 2026
  • creditUnknown

Introduced: 12 Jun 2026

CVE-2026-46716  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade github.com/nezhahq/nezha/cmd/dashboard/controller to version 2.0.8 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the POST /api/v1/cron process. An attacker can execute arbitrary shell commands on all servers across tenants by creating a scheduled cron task with specific parameters, causing the command to be pushed and executed on every server, including those belonging to other tenants. The output is then sent to an attacker-controlled webhook.

CVSS Base Scores

version 4.0
version 3.1