{"answers":{"affected":"3 open source packages ship an affected version, including github.com/nhost/nhost. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41574 in the wild and no public exploit code.","fix":"Upgrade github.com/nhost/nhost to 0.0.0-20260417112436-ec8dab3f2cf4 or later.","what":"CVE-2026-41574 is a critical authentication bypass vulnerability in nhost, published on 8 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41574 and fix it if it is affected.\n\nWhat it is: CVE-2026-41574 is a critical authentication bypass vulnerability in nhost, published on 8 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-41574 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/nhost/nhost (Go): affected all versions; fixed in 0.0.0-20260417112436-ec8dab3f2cf4\n- github.com/nhost/nhost (Go): affected all versions; fixed in 0.0.0-20260417112436-ec8dab3f2cf4\n- github.com/nhost/nhost (Go): affected all versions; fixed in 0.0.0-20260417112436-ec8dab3f2cf4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41574/ (Markdown: https://insights.sbomify.com/CVE-2026-41574/index.md)","id":"CVE-2026-41574","markdown":"https://insights.sbomify.com/CVE-2026-41574/index.md","name":"CVE-2026-41574","record":{"aliases":["GHSA-6g38-8j4p-j3pr","GO-2026-5176"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Nhost backend platform","requires_auth":"none","summary":"Attackers can take over user accounts by exploiting OAuth email verification bypasses in Nhost's identity linking logic.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nhost\\/auth","vendor":"nhost"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nhost Vulnerable to Account Takeover via OAuth Email Verification Bypass","id":"CVE-2026-41574","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"th30d4y/IP: DOM-Based Cross-Site Scripting (XSS) Vulnerability","id":"CVE-2026-41575"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260417112436-ec8dab3f2cf4"],"introduced":["0"],"last_affected":[],"package":"github.com/nhost/nhost","purl":null,"source":"GHSA-6g38-8j4p-j3pr"},{"ecosystem":"Go","fixed":["0.0.0-20260417112436-ec8dab3f2cf4"],"introduced":["0"],"last_affected":[],"package":"github.com/nhost/nhost","purl":"pkg:golang/github.com/nhost/nhost","source":"GHSA-6g38-8j4p-j3pr"},{"ecosystem":"Go","fixed":["0.0.0-20260417112436-ec8dab3f2cf4"],"introduced":["0"],"last_affected":[],"package":"github.com/nhost/nhost","purl":"pkg:golang/github.com/nhost/nhost","source":"GO-2026-5176"}],"prev":{"headline":"OpenAM LDAP Injection via `_queryId` Parameter","id":"CVE-2026-41573"},"products":["nhost"],"published":"2026-05-08","related":[{"cvss_score":2.3,"headline":"Nhost Leaks the Refresh Token via URL Query Parameter in OAuth Provider Callback","id":"CVE-2026-34969","kev_date_added":null,"published":"2026-04-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-08","vendors":["nhost"]},"summary":"Attackers can take over user accounts by exploiting OAuth email verification bypasses in Nhost's identity linking logic.","url":"https://insights.sbomify.com/CVE-2026-41574/"}