Insertion of Sensitive Information Into Sent Data Affecting github.com/nezhahq/nezha/cmd/dashboard/controller package, versions <2.2.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (40th 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-17674583
  • published29 Jun 2026
  • disclosed26 Jun 2026
  • creditUnknown

Introduced: 26 Jun 2026

CVE-2026-59155  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data via the listDDNS and listNotification handlers, which return full resource objects including plaintext third-party API credentials such as API tokens, secret keys, and webhook URLs without any field-level redaction. An attacker can obtain all stored credentials by making authenticated API calls to the affected endpoints using an admin session or a personal access token with the appropriate read scope. This is only exploitable if the attacker has admin privileges or a personal access token with nezha:ddns:read or nezha:notification:read scope.

CVSS Base Scores

version 4.0
version 3.1