# CVE-2026-101090: Nezha through 2.2.3 Host Header Injection via OAuth2 redirect_uri

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA: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.44%, higher than 40% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-15T19:50:08.000Z
- Modified: 2026-09-28T21:02:16.150Z
- Also known as: GHSA-rf68-8gjr-36q7, GO-2026-6486
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- nezhahq nezha: from 2.2.3 up to 2.2.3
- github.com/nezhahq/nezha (Go): 2.2.3; all versions

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/nezhahq/nezha/security/advisories/GHSA-rf68-8gjr-36q7> (exploit, advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nezha-through-2.2.3-host-header-injection-via-oauth2-redirect-uri> (third-party-advisory)
- <https://github.com/nezhahq/nezha/commit/38824dbc11a63964c5b9296ae4c68e62b34fa04b> (fix, web)
- <https://github.com/nezhahq/nezha> (package)

## Sources

- CVE List: [CVE-2026-101090](https://www.cve.org/CVERecord?id=CVE-2026-101090), CVE Terms of Use, modified 2026-09-28
- GitHub Advisory Database: [GHSA-rf68-8gjr-36q7](https://github.com/advisories/GHSA-rf68-8gjr-36q7), CC-BY-4.0, modified 2026-09-28
- Go Vulnerability Database: [GO-2026-6486](https://pkg.go.dev/vuln/GO-2026-6486), CC-BY-4.0, modified 2026-09-28
- NVD: [CVE-2026-101090](https://nvd.nist.gov/vuln/detail/CVE-2026-101090), Public domain, modified 2026-09-28

---

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