Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/nezhahq/nezha
  4. ›
  5. CVE-2026-48119

CVE-2026-48119: Nezha's authenticated agents can forge service-monitor results for other users' services

June 1, 2026

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 therefore submit forged monitoring results for another user’s service ID. This allows cross-tenant corruption of service-monitor history/current state, and can influence victim-owned service notifications with attacker-controlled result text.

References

  • github.com/advisories/GHSA-4g6j-g789-rghm
  • github.com/nezhahq/nezha/commit/02129f16fb1572ef57c7e8dd7d03f84d39b8b586
  • github.com/nezhahq/nezha/security/advisories/GHSA-4g6j-g789-rghm
  • nvd.nist.gov/vuln/detail/CVE-2026-48119

Code Behaviors & Features

Detect and mitigate CVE-2026-48119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.20.0 before 1.14.15-0.20260521020202-02129f16fb15, all versions starting from 2.0.0 before 2.0.12

Fixed versions

  • 1.14.15-0.20260521020202-02129f16fb15
  • 2.0.12

Solution

Upgrade to versions 1.14.15-0.20260521020202-02129f16fb15, 2.0.12 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/github.com/nezhahq/nezha/CVE-2026-48119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:54 +0000.