Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nhost | Nhost\/Auth | < 0.49.1 |
Related Weaknesses (CWE)
References
- https://github.com/nhost/nhost/commit/ec8dab3f2cf46e1131ddaf893d56c37aa00380b2Patch
- https://github.com/nhost/nhost/pull/4162ExploitPatch
- https://github.com/nhost/nhost/releases/tag/auth%400.49.1Release Notes
- https://github.com/nhost/nhost/security/advisories/GHSA-6g38-8j4p-j3prExploitVendor AdvisoryPatch
FAQ
What is CVE-2026-41574?
CVE-2026-41574 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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. Th...
How severe is CVE-2026-41574?
CVE-2026-41574 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-41574?
Check the references section above for vendor advisories and patch information. Affected products include: Nhost Nhost\/Auth.