CVE-2026-53523 PUBLISHED

Nezha Monitoring: OAuth2 Redirect URL — Host Header Injection

Assigner: GitHub_M
Reserved: 09.06.2026 Published: 12.06.2026 Updated: 12.06.2026

Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool. From version 1.0.0 to before version 2.2.0, the getRedirectURL function in oauth2.go:22-29 constructs the OAuth2 callback URL by concatenating the request's Host header with a fixed path, with zero validation of the Host header. This can result in host header injection. This issue has been patched in version 2.2.0.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS Score: 6.8

Product Status

Vendor nezhahq
Product nezha
Versions
  • Version >= 1.0.0, < 2.2.0 is affected

References

Problem Types

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect') CWE