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.
Published: 2026-07-10
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Nezha Monitoring exposes third‑party credentials such as Cloudflare API tokens, TencentCloud SecretKeys, and service webhooks for Slack, Discord, and Telegram through its GET /api/v1/ddns and GET /api/v1/notification endpoints. The returned objects contain plaintext values, including authorization headers, because no field‑level redaction is applied. The flaw is a CWE‑200 Sensitive Data Exposure that compromises confidentiality by leaking credentials that could later be used to hijack external services or pivot to other systems.

Affected Systems

The vulnerability affects installations of Nezha Monitoring that run any version before 2.2.5. An attacker who has authenticated access with either the nezha:ddns:read or nezha:notification:read scope—such as an administrator or a personal token—can retrieve the full list of DDNS or notification configurations in a single API call.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity and the EPSS score of less than 1% suggests a low but non‑zero probability of exploitation. Because the flaw is triggered by normal, authenticated API calls, an attacker who gains the necessary permissions can obtain the credentials instantly. The vulnerability is not listed in the CISA KEV catalog, but the exposure of sensitive third‑party credentials can enable further attacks such as service hijacking or lateral movement.

Generated by OpenCVE AI on July 29, 2026 at 09:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Nezha Monitoring to version 2.2.5 or later, which removes the credential leak from the API responses.
  • Restrict API scopes so that only trusted administrators possess nezha:ddns:read or nezha:notification:read permissions, reducing the attack surface.
  • Invalidate any existing personal access tokens with these scopes until the system is updated, then re‑issue fresh tokens that adhere to the new scope restrictions.

Generated by OpenCVE AI on July 29, 2026 at 09:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 11 Jul 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Nezhahq
Nezhahq nezha
Vendors & Products Nezhahq
Nezhahq nezha

Fri, 10 Jul 2026 22:00:00 +0000

Type Values Removed Values Added
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.
Title Nezha Monitoring: DDNS and Notification credential exposure via unredacted list API
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 6.9, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-13T17:56:44.683Z

Reserved: 2026-07-02T16:50:27.886Z

Link: CVE-2026-59155

cve-icon Vulnrichment

Updated: 2026-07-13T17:55:44.000Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T10:00:15Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor