CVE-2026-41574
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.
Weakness
- CWE-287: Improper Authentication
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-05-08 |
Timeline
- 2026-04-18GitHub advisory published (GHSA-6g38-8j4p-j3pr)20 days before publication
- 2026-05-08Published by the CNA14:40 UTC
- 2026-05-08CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-6g38-8j4p-j3pr, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/nhost/nhost | before 0.0.0-20260417112436-ec8dab3f2cf4 | 0.0.0-20260417112436-ec8dab3f2cf4 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| nhost nhost/auth | before 0.49.1fixed in 0.49.1 | 0.49.1 |
References
- https://github.com/nhost/nhost/commit/ec8dab3f2cf46e1131ddaf893d56c37aa00380b2
- https://github.com/nhost/nhost/pull/4162
- https://github.com/nhost/nhost/security/advisories/GHSA-6g38-8j4p-j3pr
- https://github.com/nhost/nhost/releases/tag/auth%400.49.1
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-41574'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-41574'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-41574'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-41574'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).