CVE-2026-46717

Nezha Monitoring: RoleMember-reachable SSRF with full response-body reflection via POST /api/v1/notification

Published Jun 12, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
Description
Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. From version 1.4.0 to before version 2.0.8, nezha's dashboard supports two user roles: RoleAdmin (Role==0) and RoleMember (Role==1). The notification routes POST /api/v1/notification and PATCH /api/v1/notification/:id are wired through commonHandler rather than adminHandler — so a RoleMember user can call them. These handlers synchronously Send() an HTTP request to a user-controlled URL and reflect the entire response body (no size limit) back to the caller on any non-2xx response. This issue has been patched in version 2.0.8.

Analysis

AI-generated

Technical impact

An authenticated RoleMember user can call the POST /api/v1/notification endpoint and trigger the application to send a user‑supplied HTTP request synchronously. The application returns the entire response body for any non‑2xx status code with no size limit, effectively exposing internal or third‑party data to the attacker. This flaw is an SSRF that can be used to read arbitrary resources, potentially leaking sensitive information or causing denial‑of‑service by sending large payloads. Risk is mitigated only by controlling the destination URLs or removing the ability to expose response bodies.

Affected Systems

nezhahq:nezha versions from 1.4.0 up to, but not including, 2.0.8 are affected; these versions expose the notification endpoints to RoleMember users.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity. EPSS is below 1%, suggesting low current exploitation probability. The vulnerability is not listed in CISA KEV. The attack vector is web‑based, requiring authentication as a RoleMember; no additional privileges are needed. An attacker who can gain a RoleMember account can target internal services or external systems, reflecting responses back to the user, which can be leveraged for information gathering or internal network probing.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade nezhahq:nezha to version 2.0.8 or later, which removes the SSRF path for RoleMember users.
  • Reconfigure the application to route /api/v1/notification endpoints through adminHandler or otherwise restrict RoleMember access to these endpoints.
  • If an upgrade is pending, restrict the list of allowed destination hosts for notification requests or block internal network ranges to prevent internal SSFR.

Generated by OpenCVE AI on June 12, 2026 at 23:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-w4g9-mxgg-j532 Nezha Monitoring: RoleMember-reachable SSRF with full response-body reflection via POST /api/v1/notification
History
Type Values Removed Values Added
First Time appeared Nezhahq
Nezhahq nezha
Vendors & Products Nezhahq
Nezhahq nezha
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. From version 1.4.0 to before version 2.0.8, nezha's dashboard supports two user roles: RoleAdmin (Role==0) and RoleMember (Role==1). The notification routes POST /api/v1/notification and PATCH /api/v1/notification/:id are wired through commonHandler rather than adminHandler — so a RoleMember user can call them. These handlers synchronously Send() an HTTP request to a user-controlled URL and reflect the entire response body (no size limit) back to the caller on any non-2xx response. This issue has been patched in version 2.0.8.
Title Nezha Monitoring: RoleMember-reachable SSRF with full response-body reflection via POST /api/v1/notification
Weaknesses CWE-863
CWE-918
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-863

    Incorrect Authorization

  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 13, 2026, 3:38 AM
Reserved
May 15, 2026, 11:26 PM
Status
Deferred
Published
Jun 12, 2026, 10:16 PM
Modified
Oct 25, 2026, 11:10 PM