Live threats

All CVEs / nezhahq

CVE-2026-53523nezhahq nezha

Medium 6.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for nezha.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.