{"id":"CVE-2026-101090","revision":"9b0ab40f076544459e3624d7a4c35541","records":[{"revision":"9b0ab40f076544459e3624d7a4c35541","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-101090","aliases":[],"title":"Nezha through 2.2.3 Host Header Injection via OAuth2 redirect_uri","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.","state":0,"publishedAt":"2026-09-27T20:50:00.857+00:00","modifiedAt":"2026-09-28T13:00:01.476+00:00","affected":[{"ecosystem":"Vendor product","name":"nezha","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"nezhahq\",\n                    \"product\": \"nezha\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:golang/github.com/nezhahq/nezha\",\n                    \"versions\": [\n                        {\n                            \"version\": \"2.2.3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThanOrEqual\": \"2.2.3\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":9.3,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/nezhahq/nezha/security/advisories/GHSA-rf68-8gjr-36q7","https://www.vulncheck.com/advisories/nezha-through-2.2.3-host-header-injection-via-oauth2-redirect-uri"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-101090","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-101090","identifiers":["CVE-2026-101090"]},"retained":false,"historicalAffected":[]}],"coverage":[]}