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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-12T21:04:46.741Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-9rc6-8cjv-rcvx, GO-2026-5829
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nezhahq nezha: >= 1.0.0, < 2.2.0
- github.com/nezhahq/nezha (Go): from 1.0.0 before 2.2.0; from 1.0.0

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/nezhahq/nezha/security/advisories/GHSA-9rc6-8cjv-rcvx> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53523> (advisory)
- <https://github.com/nezhahq/nezha> (package)

## Sources

- CVE List: [CVE-2026-53523](https://www.cve.org/CVERecord?id=CVE-2026-53523), CVE Terms of Use, modified 2026-06-15
- GitHub Advisory Database: [GHSA-9rc6-8cjv-rcvx](https://github.com/advisories/GHSA-9rc6-8cjv-rcvx), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5829](https://pkg.go.dev/vuln/GO-2026-5829), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-53523](https://nvd.nist.gov/vuln/detail/CVE-2026-53523), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-53523 · Whole record: https://cve.day/CVE-2026-53523.json · Rebuilt by cve.day 2026-11-25T22:59:24.593Z
