Vulnerability · Published May 8, 2026 · Assigned by GitHub_M

CVE-2026-41574Nhost Vulnerable to Account Takeover via OAuth Email Verification Bypass

Critical 9.3

In plain English

A critical-severity improper authentication in nhost from nhost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)9.3Critical
Exploit odds (30 days)0.8%top 43.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/nhost/nhost0.0.0-20260417112436-ec8dab3f2cf4GHSA-6g38-8j4p-j3pr
Gogithub.com/nhost/nhost0.0.0-20260417112436-ec8dab3f2cf4GO-2026-5176

Affected products (as reported)

VendorProductVersions
nhost nhost < 0.49.1

Weakness: CWE-287 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

References