CVE-2026-53523nezhahq nezha
Medium 6.8 No auth needed
Follow: this CVE · nezhahq · nezhahq nezha We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.1
- 6.8
- EPSS
- —
- Auth required
- No
- Published
- Jun 12, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for nezha.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/nezhahq/nezha |
≥ 1.0.0 < 2.2.0 |
2.2.0 |
go get github.com/nezhahq/nezha@v2.2.0 |
| Go | github.com/nezhahq/nezha |
≥ 1.0.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-9rc6-8cjv-rcvx, GO-2026-5829). Check the version in your lockfile before upgrading.
Affected products
- nezhahq · nezha
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.