Skip to main content
← All vulnerabilities
CVE-2026-41574GO-2026-5176GHSA-6G38-8J4P-J3PR

Nhost Vulnerable to Account Takeover via OAuth Email Verification Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.49.1, 0.0.0-20260417112436-ec8dab3f2cf4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • nhost nhost

    fixed in 0.49.1

  • github.com/nhost/nhostGo

    fixed in 0.0.0-20260417112436-ec8dab3f2cf4

References 4

GitHub · nhost/nhost