Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/nezhahq/nezha
  4. ›
  5. GHSA-ww5p-j6cj-6mqq

GHSA-ww5p-j6cj-6mqq: Nezha Dashboard: DDNS and Notification credential exposure via unredacted list API

June 26, 2026

The GET /api/v1/ddns and GET /api/v1/notification endpoints return full resource objects including plaintext third-party API credentials — Cloudflare API tokens, TencentCloud SecretKeys, Slack/Discord/Telegram webhook URLs with embedded bot tokens, and Authorization header values — without any field-level redaction. Any authenticated admin who calls these endpoints receives every stored credential in the system in a single API response. A compromised admin session or leaked PAT with nezha:ddns:read or nezha:notification:read scope exposes all third-party integration secrets.

References

  • github.com/advisories/GHSA-ww5p-j6cj-6mqq
  • github.com/nezhahq/nezha/security/advisories/GHSA-ww5p-j6cj-6mqq

Code Behaviors & Features

Detect and mitigate GHSA-ww5p-j6cj-6mqq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.2.5

Fixed versions

  • 2.2.5

Solution

Upgrade to version 2.2.5 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/github.com/nezhahq/nezha/GHSA-ww5p-j6cj-6mqq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 12 Jul 2026 12:17:25 +0000.