Skip to main content

Nhost EUVDEUVD-2026-28650

| CVE-2026-41574 CRITICAL
Improper Authentication (CWE-287)
2026-05-08 security-advisories@github.com GHSA-6g38-8j4p-j3pr
9.3
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Register OAuth account with victim's email
  2. Delivery
    Skip provider email verification
  3. Exploit
    Initiate OAuth login to Nhost
  4. Install
    Provider adapter returns unverified email as verified
  5. C2
    Nhost links OAuth identity to victim's account
  6. Execute
    Receive full authenticated session token
  7. Impact
    Access 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nhost < 0.49.1

Affected Packages

go github.com/nhost/nhost fix: 0.0.0-20260417112436-ec8dab3f2cf4
euvd nhost fix: 0.49.1

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

Vendor (github) PRIMARY 9.3 CRITICAL
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
SUSE CRITICAL

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
May 08, 2026 - 16:18 EUVD
CVE Published
May 08, 2026 - 15:16 nvd
CRITICAL 9.3

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy