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

CVE-2026-53521: Nezha Monitoring: Stored future DDNS profile ID allows unauthorized use of another user's DDNS profile context

June 26, 2026

PATCH /server/{id} accepts and persists nonexistent ddns_profiles IDs for a member-owned server. If another user later creates a DDNS profile with one of those IDs, the DDNS worker resolves the stored ID and dispatches an update using the other user’s DDNS profile configuration in the context of the attacker’s server.

This is a second-order authorization bypass: direct binding to an existing foreign DDNS profile is correctly denied, but an unresolved future ID can be stored first and later becomes a live cross-user reference.

The behavior was validated locally with focused regression tests.

References

  • github.com/advisories/GHSA-39g2-8x68-pmx8
  • github.com/nezhahq/nezha/security/advisories/GHSA-39g2-8x68-pmx8
  • nvd.nist.gov/vuln/detail/CVE-2026-53521

Code Behaviors & Features

Detect and mitigate CVE-2026-53521 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 2.0.14 before 2.1.0

Fixed versions

  • 2.1.0

Solution

Upgrade to version 2.1.0 or above.

Impact 6.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 11 Jul 2026 00:17:39 +0000.