Incorrect Authorization Affecting github.com/nezhahq/nezha/cmd/dashboard/controller package, versions >=2.0.14 <2.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (14th 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMNEZHAHQNEZHACMDDASHBOARDCONTROLLER-17673416
  • published29 Jun 2026
  • disclosed12 Jun 2026
  • creditUnknown

Introduced: 12 Jun 2026

CVE-2026-53521  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the PATCH /server/{id} process. An attacker can gain unauthorized access to another user's DDNS profile context by storing a nonexistent ddns_profiles ID for a server they own, which is later resolved if another user creates a DDNS profile with that ID.

CVSS Base Scores

version 4.0
version 3.1