CVE-2026-41574
Nhost Vulnerable to Account Takeover via OAuth Email Verification Bypass
Also known as GHSA-6g38-8j4p-j3pr, GO-2026-5176
Mitigation
- Upgrade github.com/nhost/nhost to 0.0.0-20260417112436-ec8dab3f2cf4 or later.
Who should check
- Projects that depend on Go package github.com/nhost/nhost (< 0.0.0-20260417112436-ec8dab3f2cf4)
- Anyone running nhost < 0.49.1
Vulnerability facts
- Affected
- github.com/nhost/nhost < 0.0.0-20260417112436-ec8dab3f2cf4
- Fixed in
- 0.0.0-20260417112436-ec8dab3f2cf4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.91% chance of exploitation in 30 days (percentile 58, 2026-11-26)
- CWE
- CWE-287
- Modified
Description
Nhost is an open source Firebase alternative with GraphQL. Prior to version 0.49.1, Nhost automatically links an incoming OAuth identity to an existing Nhost account when the email addresses match. This is only safe when the email has been verified by the OAuth provider. Nhost's controller trusts a profile.EmailVerified boolean that is set by each provider adapter. The vulnerability is that several provider adapters do not correctly populate this field they either silently drop a verified field the provider API actually returns (Discord), or they fall back to accepting unconfirmed emails and marking them as verified (Bitbucket). Two Microsoft providers (AzureAD, EntraID) derive the email from non-ownership-proving fields like the user principal name, then mark it verified. The result is that an attacker can present an email they don't own to Nhost, have the OAuth identity merged into the victim's account, and receive a full authenticated session. This issue has been patched in version 0.49.1.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/nhost/nhost | < 0.0.0-20260417112436-ec8dab3f2cf4 | 0.0.0-20260417112436-ec8dab3f2cf4 | osv |
| nhost | < 0.49.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-41574. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-41574.md Affected: github.com/nhost/nhost < 0.0.0-20260417112436-ec8dab3f2cf4 Fixed in: 0.0.0-20260417112436-ec8dab3f2cf4 Steps: 1. Search this machine and project for github.com/nhost/nhost (Go), nhost: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-41574 being exploited?
There is no confirmed exploitation: CVE-2026-41574 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.91% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-41574?
Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-41574?
github.com/nhost/nhost < 0.0.0-20260417112436-ec8dab3f2cf4.
Is there a fix for CVE-2026-41574?
Yes. Fixed in 0.0.0-20260417112436-ec8dab3f2cf4. Upgrade github.com/nhost/nhost to 0.0.0-20260417112436-ec8dab3f2cf4 or later.
How do I check if I'm affected by CVE-2026-41574?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.