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

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-04-18T01:00:06.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-6g38-8j4p-j3pr, GO-2026-5176
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- nhost nhost: < 0.49.1
- github.com/nhost/nhost (Go): before 0.0.0-20260417112436-ec8dab3f2cf4
- nhost nhost/auth: before 0.49.1

## Every score

- GitHub_M: CVSS:4.0 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`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nhost/nhost/security/advisories/GHSA-6g38-8j4p-j3pr> (exploit, advisory, patch, vendor-advisory, web)
- <https://github.com/nhost/nhost/pull/4162> (exploit, fix, patch, web)
- <https://github.com/nhost/nhost/commit/ec8dab3f2cf46e1131ddaf893d56c37aa00380b2> (fix, patch, web)
- <https://github.com/nhost/nhost/releases/tag/auth%400.49.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41574> (advisory)
- <https://github.com/nhost/nhost> (package)

## Sources

- CVE List: [CVE-2026-41574](https://www.cve.org/CVERecord?id=CVE-2026-41574), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-6g38-8j4p-j3pr](https://github.com/advisories/GHSA-6g38-8j4p-j3pr), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5176](https://pkg.go.dev/vuln/GO-2026-5176), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-41574](https://nvd.nist.gov/vuln/detail/CVE-2026-41574), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-41574 · Whole record: https://cve.day/CVE-2026-41574.json · Rebuilt by cve.day 2026-11-25T22:59:21.019Z
