{"id":"CVE-2026-59155","published":"2026-07-10T21:31:34Z","modified":"2026-07-13T17:56:44Z","title":"Nezha Monitoring: DDNS and Notification credential exposure via unredacted list API","vendor":"nezhahq","product":"nezha","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00385,"percentile":0.33094,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/nezhahq/nezha/security/advisories/GHSA-ww5p-j6cj-6mqq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nezhahq/nezha/commit/39d398066d8c644fe452f74704e34ada6c7ab61e","tags":["x_refsource_MISC"]},{"url":"https://github.com/nezhahq/nezha/releases/tag/v2.2.5","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":6.62},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"nezhahq","affectedVersions":[{"vendor":"nezhahq","product":"nezha","versions":["< 2.2.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-13T17:56:09.671246Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/nezhahq/nezha","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5832"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-43108","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nezhahq-nezha-cve-2026-59155","children":[{"from":"CVE-2026-59155","to":"CVE-2026-111383","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cmd/dashboard/controller/ddns.go"],"commits":["https://github.com/nezhahq/nezha/commit/36b742a7e9a81ed782363dd19efd77b7030fbd0f","https://github.com/nezhahq/nezha/commit/39d398066d8c644fe452f74704e34ada6c7ab61e"],"basis":"shared function","functions":["listDDNS","updateDDNS"]}]},{"from":"CVE-2026-59155","to":"CVE-2026-111384","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cmd/dashboard/controller/ddns.go"],"commits":["https://github.com/nezhahq/nezha/commit/36b742a7e9a81ed782363dd19efd77b7030fbd0f","https://github.com/nezhahq/nezha/commit/39d398066d8c644fe452f74704e34ada6c7ab61e"],"basis":"shared function","functions":["listDDNS","updateDDNS"]}]},{"from":"CVE-2026-59155","to":"CVE-2026-111385","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cmd/dashboard/controller/ddns.go"],"commits":["https://github.com/nezhahq/nezha/commit/c726930833937a0aebb2a924064f236faea889f6","https://github.com/nezhahq/nezha/commit/36b742a7e9a81ed782363dd19efd77b7030fbd0f","https://github.com/nezhahq/nezha/commit/39d398066d8c644fe452f74704e34ada6c7ab61e"],"basis":"shared function","functions":["listDDNS","updateDDNS"]}]},{"from":"CVE-2026-59155","to":"CVE-2026-111386","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cmd/dashboard/controller/ddns.go"],"commits":["https://github.com/nezhahq/nezha/commit/36b742a7e9a81ed782363dd19efd77b7030fbd0f","https://github.com/nezhahq/nezha/commit/39d398066d8c644fe452f74704e34ada6c7ab61e"],"basis":"shared function","functions":["listDDNS","updateDDNS"]}]}]}}