{"id":"CVE-2026-53523","published":"2026-06-12T21:04:46Z","modified":"2026-06-15T21:35:45Z","title":"Nezha Monitoring: OAuth2 Redirect URL — Host Header Injection","vendor":"nezhahq","product":"nezha","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00291,"percentile":0.22245,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/nezhahq/nezha/security/advisories/GHSA-9rc6-8cjv-rcvx","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":4.45},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"nezhahq","affectedVersions":[{"vendor":"nezhahq","product":"nezha","versions":[">= 1.0.0, < 2.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-15T21:35:11.641888Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/nezhahq/nezha","vulnerableRanges":[">=1.0.0, <2.2.0",">=1.0.0"],"patched":["2.2.0"],"from":["GHSA-9rc6-8cjv-rcvx","GO-2026-5829"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-36602","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-53520","published":"2026-06-12","fixed":"2.1.0","kev":false},{"cve":"CVE-2026-53521","published":"2026-06-12","fixed":"2.1.0","kev":false,"link":{"from":"CVE-2026-53521","to":"CVE-2026-53523","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/nezhahq/nezha","fromFixed":"2.1.0","toFixed":"2.2.0","daysApart":0}]}},{"cve":"CVE-2026-53522","published":"2026-06-12","fixed":"2.2.0","kev":false},{"cve":"CVE-2026-53523","published":"2026-06-12","fixed":"2.2.0","kev":false}],"package":"Go:github.com/nezhahq/nezha"}}