Nezha Monitoring: OAuth2 Redirect URL — Host Header Injection
CVE-2026-53523

6.8MEDIUM

Key Information:

Vendor

Nezhahq

Status
Vendor
CVE Published:
12 June 2026

What is CVE-2026-53523?

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.

Affected Version(s)

nezha >= 1.0.0, < 2.2.0

References

CVSS V3.1

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.