Nhost Vulnerable to Account Takeover via OAuth Email Verification Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nhost | nhost | before 0.49.1 | 0.49.1 | Patch available | CNA |
| — | github.com/nhost/nhost (Go) | before 0.0.0-20260417112436-ec8dab3f2cf4 | 0.0.0-20260417112436-ec8dab3f2cf4 | Patch available | GHSA-6g38-8j4p-j3pr |
- nhost Vendornhost Affected before 0.49.1 Fixed in 0.49.1 Patch available CNA
- github.com/nhost/nhost (Go) Vendor— Affected before 0.0.0-20260417112436-ec8dab3f2cf4 Fixed in 0.0.0-20260417112436-ec8dab3f2cf4 Patch available GHSA-6g38-8j4p-j3pr
Remediation
- Fix · CNA nhost (nhost) Fixed in 0.49.1
- Fix · GHSA-6g38-8j4p-j3pr github.com/nhost/nhost (Go) Fixed in 0.0.0-20260417112436-ec8dab3f2cf4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41574
- 2026-10-03 Alias added: GHSA-6g38-8j4p-j3pr
References
Exploit 2
More Nhost/auth vulnerabilities
- TI-2026-27191 Nhost Leaks the Refresh Token via URL Query Parameter in OAuth Provider Callback CVSS 4.0LOW 2.3
Sources
- CVE-2026-41574 · CVE Program
- CVE-2026-41574 · NVD
- FIRST EPSS
- GHSA-6g38-8j4p-j3pr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences