Vulnerability · Published Jun 12, 2026 · Assigned by GitHub_M
CVE-2026-46717Nezha Monitoring: RoleMember-reachable SSRF with full response-body reflection via POST /api/v1/notification
High 7.7
In plain English
A high-severity incorrect authorization in nezha from nezhahq. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/nezhahq/nezha | 1.14.15-0.20260517022419-d06d539d34c1 | GO-2026-5687 |
| Go | github.com/nezhahq/nezha | 1.14.15-0.20260517022419-d06d539d34c1 | GHSA-w4g9-mxgg-j532 |
Affected products (as reported)
Weakness: CWE-863, CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/nezhahq/nezha/security/advisories/GHSA-w4g9-mxgg-j532 x_refsource_CONFIRM