Skip to content
Heist/ feed
Back to feed
Medium

Nezha Monitoring: DDNS and Notification credential exposure via unredacted list API

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-59155
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 00:05 UTC · Revision 1

Source evidence

Nezha Monitoring: DDNS and Notification credential exposure via unredacted list API

core-osv · Original source

Published 10 Jul 2026, 21:31 UTC

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.

osv:CVE-2026-59155
Complete source record
{
  "id": "746ae210522f9e235e00d4fadd3ba79f66819bf34bf67eb934661fe02de888e5",
  "url": "https://osv.dev/vulnerability/CVE-2026-59155",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nezha Monitoring: DDNS and Notification credential exposure via unredacted list API",
    "summary": "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.",
    "evidence": "osv:CVE-2026-59155",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-59155",
      "aliases": [
        "CVE-2026-59155",
        "GHSA-ww5p-j6cj-6mqq",
        "GO-2026-5832"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nezhahq/nezha",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "39d398066d8c644fe452f74704e34ada6c7ab61e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "39d398066d8c644fe452f74704e34ada6c7ab61e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "39d398066d8c644fe452f74704e34ada6c7ab61e"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.2.5"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.5"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.2.4",
            "v2.2.3",
            "v2.2.2",
            "v2.2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59155.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.540137440Z",
      "provider": "osv",
      "references": [
        "https://github.com/nezhahq/nezha/releases/tag/v2.2.5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59155.json",
        "https://github.com/nezhahq/nezha/security/advisories/GHSA-ww5p-j6cj-6mqq",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-59155",
        "https://github.com/nezhahq/nezha/commit/39d398066d8c644fe452f74704e34ada6c7ab61e"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59155.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-59155",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508244,
  "published_at": "2026-07-10T21:31:34.313+00:00"
}