CVE 6.8 MEDIUM

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

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

Description

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.

Basic Information

ID CVE-2026-53523
Source GitHub_M
Published Jun 12, 2026 at 21:04

Affected Product

Vendor nezhahq
Product nezha
Version >= 1.0.0, < 2.2.0
Affected Versions nezhahq nezha >= 1.0.0, < 2.2.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.