Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRegister OAuth account with victim's email
-
DeliverySkip provider email verification
-
ExploitInitiate OAuth login to Nhost
-
InstallProvider adapter returns unverified email as verified
-
C2Nhost links OAuth identity to victim's account
-
ExecuteReceive full authenticated session token
-
ImpactAccess victim's backend resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to have an existing Nhost account identified by email address. The attacker must register an OAuth account on one of the vulnerable providers (Discord, Bitbucket, AzureAD, or EntraID) and set their email to match the victim's without completing email verification. Specifically for Discord, the attacker changes their profile email via user settings and skips the verification link; for Bitbucket, the attacker adds the victim's email as an unconfirmed secondary address; for Microsoft providers, the attacker may need organizational access to set a user principal name matching the victim's domain. The Nhost deployment must have the corresponding OAuth provider enabled in its authentication configuration. The victim does not need to take any action - the vulnerability is exploitable purely through attacker-controlled OAuth provider registration and subsequent Nhost authentication. Attack is limited to Nhost instances using affected provider adapters and requires knowledge of the victim's email address. Default Nhost configurations with any of the four vulnerable providers enabled are exploitable. No user interaction (UI:N), no privileges required (PR:N), network-accessible (AV:N), and low attack complexity (AC:L) per CVSS vector confirm these are the only prerequisites. |
| Impact | CVSS 9.3 (Critical) with vector AV:N/AC:L/PR:N/UI:N indicates remote unauthenticated exploitation with no complexity barriers - attackers need only an unverified OAuth account on a vulnerable provider (Discord, Bitbucket, or Microsoft) and knowledge of the victim's email address. However, real-world risk should be contextualized: successful exploitation requires the victim to have an existing Nhost account using email-based authentication AND the attacker to register an OAuth account on a vulnerable provider using the victim's email without completing verification. This is trivially achievable on Discord and Bitbucket, which allow email changes without immediate ownership proof. The attack results in full account takeover with session token issuance, granting the attacker read/write access to the victim's Nhost backend data (databases, storage, GraphQL API). No EPSS score or CISA KEV status provided, but the detailed commit diff and advisory disclosure significantly lower exploitation complexity. The primary limiting factor is the requirement that both attacker and victim interact with the same Nhost deployment and that the victim uses email-based (not passwordless or magic-link) primary authentication. For affected Nhost deployments with Discord/Bitbucket/Microsoft OAuth enabled, this is a genuine critical-priority patch given the simplicity of attack execution and severity of impact (full account compromise). |
| Exploit ScenarioDerived | An attacker identifies a high-value target using email jane.doe@example.com with an active Nhost account. The attacker creates a Discord account, changes the profile email to jane.doe@example.com but does not complete Discord's email verification process. The attacker then initiates OAuth login to the Nhost application via Discord. Nhost's Discord provider adapter fetches the attacker's profile, fails to check the verified field from Discord's API, and returns EmailVerified as true by default. Nhost's providerFlowSignIn() function sees an email match with Jane's existing account, automatically links the attacker's Discord identity to Jane's Nhost user record without checking EmailVerified, and issues a full authenticated session token. The attacker now has complete access to Jane's Nhost backend resources - GraphQL queries, database records, file storage - with no further authentication required. The same attack vector applies to Bitbucket and Microsoft providers per the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
Authentication bypass in Nhost (open-source Firebase alternative) allows account takeover via OAuth email verification bypass. Attackers can claim a victim's email address on vulnerable OAuth providers (Discord, Bitbucket, AzureAD, EntraID) without verification, then authenticate to Nhost and receive a full session merged into the victim's existing account. The flaw affects multiple OAuth provider adapters that incorrectly populate the EmailVerified field - Discord silently drops the API's verified flag, Bitbucket accepts unconfirmed emails as verified, and Microsoft providers derive emails from non-ownership-proving fields like user principal names. Patched in version 0.49.1 per GitHub Security Advisory GHSA-6g38-8j4p-j3pr. No public exploit identified at time of analysis, but attack is trivially executable given the detailed technical disclosure.
RemediationAI
Upgrade Nhost authentication service to version 0.49.1 or later immediately. For self-hosted deployments, pull the patched container image or rebuild from source using commit ec8dab3f2cf4 or later from the main branch. Verify the fix by checking that services/auth/go/controller/sign_in_id_token.go contains the new ensureProviderLinkAllowed() function that rejects email verification statuses other than explicitly Verified. For Nhost Cloud users, confirm with Nhost support that your deployment has been upgraded to 0.49.1. If immediate patching is not feasible, implement compensating controls: disable OAuth provider integrations for Discord, Bitbucket, AzureAD, and EntraID in your Nhost configuration until patched (this will break OAuth login flows for legitimate users, so plan user communication accordingly). Audit authentication logs for suspicious OAuth sign-ins where a new provider was linked to an existing account within the vulnerability window - look for InsertUserProvider events where the email address does not match the provider's typical domain patterns (e.g., a Gmail address linked via AzureAD). Consider forcing password resets for high-value accounts if suspicious activity is detected. Review and tighten email verification requirements in your application's user onboarding flow as an additional defense layer. The patch introduces no breaking changes to legitimate OAuth workflows, only rejecting unverified email linkages that should never have been allowed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Nhost is a GraphQL-based backend-as-a-service platform written in Go that implements OAuth 2.0 and OpenID Connect (OIDC) authentication flows. The vulnerability exists in the OAuth identity linking logic within services/auth/go/controller/sign_in_id_token.go. When a user authenticates via an OAuth provider, Nhost's providerFlowSignIn() function automatically merges the OAuth identity with an existing Nhost account if the email addresses match. This design assumes the OAuth provider has verified email ownership and correctly communicates that status via a profile.EmailVerified boolean. However, the provider adapters in providers/ directory (discord.go, bitbucket.go, azure_ad.go, entra_id.go) fail to properly map the verification status from upstream APIs. Discord's adapter ignores the verified field returned by Discord's /users/@me endpoint. Bitbucket's adapter defaults to marking emails as verified despite Bitbucket not guaranteeing ownership. Microsoft providers extract emails from user principal names (UPNs) or other non-verified claims, then incorrectly mark them verified. The root cause is classified as CWE-287 (Improper Authentication) - specifically, insufficient verification of authentication factors during account linking. The fix in commit ec8dab3f2cf4 introduces an ensureProviderLinkAllowed() guard that rejects Unknown and Unverified email statuses, only permitting explicit Verified signals before merging identities.
Know when Nhost Auth gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
Nhost versions prior to 0.49.1 contain a critical authentication bypass that allows attackers to claim victim email addresses through OAuth providers (Discord, Bitbucket, Azure AD, Entra ID) and gain full account access, resulting in potential complete compromise of user accounts and sensitive data exposure. Organizations using Nhost for identity management face immediate risk of account takeover affecting all users relying on affected OAuth integrations.
Vendor-released patch: Nhost version 0.49.1. If immediate patching is not possible, disable OAuth authentication entirely and revert to password-based or alternative authentication methods until upgrade is completed; implement IP allowlisting on Nhost administrative console and monitor all account creation and OAuth linking events for suspicious patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Same weakness CWE-287 – Improper Authentication
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-28650
GHSA-6g38-8j4p-j3pr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB