Vulnerability · Published Jul 10, 2026 · Assigned by GitHub_M
CVE-2026-59155Nezha Monitoring: DDNS and Notification credential exposure via unredacted list API
Medium 6.9
In plain English
A medium-severity information exposure in nezha from nezhahq. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. Prior to 2.2.5, the GET /api/v1/ddns and GET /api/v1/notification endpoints return full resource objects including plaintext third-party API credentials, including Cloudflare API tokens, TencentCloud SecretKeys, Slack, Discord, and Telegram webhook URLs with embedded bot tokens, and Authorization header values, without any field-level redaction. Any authenticated admin or PAT with nezha:ddns:read or nezha:notification:read scope can receive stored credentials through the listDDNS and listNotification handlers in a single API response. This issue is fixed in version 2.2.5.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/nezhahq/nezha | 2.2.5 | GHSA-ww5p-j6cj-6mqq |
| Go | github.com/nezhahq/nezha | no fix listed | GO-2026-5832 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/nezhahq/nezha/security/advisories/GHSA-ww5p-j6cj-6mqq x_refsource_CONFIRM
- https://github.com/nezhahq/nezha/commit/39d398066d8c644fe452f74704e34ada6c7ab61e x_refsource_MISC
- https://github.com/nezhahq/nezha/releases/tag/v2.2.5 x_refsource_MISC