Skip to main content
← All vulnerabilities
CVE-2026-53523GHSA-9RC6-8CJV-RCVXGO-2026-5829

Nezha Monitoring: OAuth2 Redirect URL — Host Header Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • nezhahq nezha

    From 1.0.0 · fixed in 2.2.0

  • github.com/nezhahq/nezhaGo

    From 1.0.0 · fixed in 2.2.0

  • github.com/nezhahq/nezhaGo

    From 1.0.0

References 1

GitHub · nezhahq/nezha