GO-2026-5119

Nezha's authenticated agents can forge service-monitor results for other users' services in github.com/nezhahq/nezha

At a glance

Published
Updated
CVE
CVE-2026-48119
Aliases
GHSA-4g6j-g789-rghm

Description

Nezha accepts service-monitor TaskResult messages from an authenticated agent based only on whether the reported service ID exists. The dashboard authenticates the agent and derives the reporter server ID from the gRPC stream, but the service-monitor result worker does not verify that the reporter server was selected for that service, belongs to the service owner, or was actually assigned that monitoring task. A low-privilege user with a valid agent secret and one registered agent can submit forged monitoring results for another user's service ID. This allows cross-tenant corruption of service-monitor history and state, and can influence victim-owned service notifications.

Affected packages

PackageVersions
Go · github.com/naiba/nezhaintroduced 0.20.0
Go · github.com/nezhahq/nezhaintroduced 1.0.0, fixed 1.14.15-0.20260521020202-02129f16fb15

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database