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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.91% (percentile 58, 2026-11-26)
- **CWE:** CWE-287
- **Aliases:** GHSA-6g38-8j4p-j3pr, GO-2026-5176
- **Published:** 2026-04-18T01:00:06.000Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Projects that depend on Go package github.com/nhost/nhost (\< 0.0.0-20260417112436-ec8dab3f2cf4)
- Anyone running nhost \< 0.49.1

## 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 and fixed versions

- Go `github.com/nhost/nhost`: affected \< 0.0.0-20260417112436-ec8dab3f2cf4; fixed 0.0.0-20260417112436-ec8dab3f2cf4 (osv)
- nhost: \< 0.49.1 (cvelist)

## Mitigation

- Upgrade github.com/nhost/nhost to 0.0.0-20260417112436-ec8dab3f2cf4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-41574. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-41574.md
Affected: github.com/nhost/nhost < 0.0.0-20260417112436-ec8dab3f2cf4
Fixed in: 0.0.0-20260417112436-ec8dab3f2cf4

Steps:
1. Search this machine and project for github.com/nhost/nhost (Go), nhost: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-41574 being exploited?

There is no confirmed exploitation: CVE-2026-41574 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.91% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-41574?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-41574?

github.com/nhost/nhost \< 0.0.0-20260417112436-ec8dab3f2cf4.

### Is there a fix for CVE-2026-41574?

Yes. Fixed in 0.0.0-20260417112436-ec8dab3f2cf4. Upgrade github.com/nhost/nhost to 0.0.0-20260417112436-ec8dab3f2cf4 or later.

### How do I check if I'm affected by CVE-2026-41574?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/nhost/nhost/security/advisories/GHSA-6g38-8j4p-j3pr>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-41574>
- patch: <https://github.com/nhost/nhost/pull/4162>
- patch: <https://github.com/nhost/nhost/commit/ec8dab3f2cf46e1131ddaf893d56c37aa00380b2>
- other: <https://github.com/nhost/nhost/releases/tag/auth%400.49.1>
- other: <https://github.com/nhost/nhost>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-41574>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6g38-8j4p-j3pr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5176> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-41574> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-41574>
