Skip to content
OpenAdvisories
Critical · 9.3 CVE-2026-41574 EUVD-2026-28650GHSA-6g38-8j4p-j3prGO-2026-5176

Nhost Vulnerable to Account Takeover via OAuth Email Verification Bypass

Published May 8, 2026 · Updated May 8, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
nhost nhost < 0.49.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/nhost/nhost < 0.0.0-20260417112436-ec8dab3f2cf4 0.0.0-20260417112436-ec8dab3f2cf4 GHSA-6g38-8j4p-j3pr

Advisories 1

References