๐Ÿ” CVE Alert

CVE-2026-101090

CRITICAL 9.8

Nezha through 2.2.3 Host Header Injection via OAuth2 redirect_uri

CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th

Nezha 2.2.3 contains a Host header injection regression in the OAuth2 redirect endpoint. When the new optional dashboard_host setting is empty, /api/v1/oauth2/{provider} (cmd/dashboard/controller/oauth2.go) reflects the attacker-supplied HTTP Host header into the redirect_uri sent to the identity provider instead of falling back to the configured install_host. An attacker who induces a victim to begin OAuth2 login via a request that reaches Nezha with a forged Host header can cause an attacker-controlled callback URL to be used as the redirect_uri; if the OAuth2 provider accepts it, the victim's authorization code is delivered to the attacker origin, allowing the attacker to complete the OAuth2 login/binding flow and take over the account. This regresses the fix for GHSA-9rc6-8cjv-rcvx and is configuration-dependent (dashboard_host empty). At the time of the advisory no patched version was available.

CWE CWE-601
Vendor nezhahq
Product nezha
Published Sep 27, 2026
Stay Ahead of the Next One

Get instant alerts for nezhahq nezha

Be the first to know when new critical vulnerabilities affecting nezhahq nezha are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

nezhahq / nezha
2.2.3 โ‰ค 2.2.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/nezhahq/nezha/security/advisories/GHSA-rf68-8gjr-36q7 vulncheck.com: https://www.vulncheck.com/advisories/nezha-through-2.2.3-host-header-injection-via-oauth2-redirect-uri

Credits

๐Ÿ” DavidCarliez