{"id":"CVE-2026-120999","kind":"vulnerability","aliases":["CVE-2026-120999"],"related":[],"title":"NervesHub: email-based account takeover via unverified Google sign-in and confirmation","description":"Improper Authentication vulnerability in Google sign-in and email confirmation in nerves-hub nerves_hub_web allows an attacker who registers another person's email address to share that person's account once they sign in. NervesHub.Accounts.update_or_create_user_from_ueberauth/1 signs a Google user in to any account carrying the same email that is not yet linked to a Google account, links it and marks the email confirmed, without the account's owner ever having proved they own the address. NervesHubWeb.SessionController.confirm/2 likewise signs in whoever follows a confirmation link. An attacker registers the address from the sign-up form, changes their own account's email to it, or registers it as an organization admin from an invite link, and keeps the password; when the address's owner signs in with Google or follows the confirmation link, they land in that account.\n\nThe Google path also creates accounts with registrations closed and never checks Google's email_verified claim, and the API's password sign-in in NervesHubWeb.API.UserController issues tokens to accounts whose email was never confirmed. The attacker gains only what the victim is granted afterwards, and nothing on accounts whose owners never use either path.\n\nThis issue affects nerves_hub: from 2.3.0 before 2.5.3.","summary":"NervesHub's Google sign-in and email confirmation link accounts to an email address without proving the account owner controls it. An attacker who registers a victim's email first keeps access to the account and gets into it when the owner signs in with Google or follows the confirmation link.","severity":"high","cvss":7.4,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["elixir","google-sign-in","nerves_hub","package","self-hosted"],"not_affected_if":["no-email-confirmation","no-google-sign-in","version-2.5.3-or-later"],"how_to_check":"- Check the installed nerves_hub version in the deployed release or `mix.lock`; the affected range is `2.3.0` up to but not including `2.5.3`.\n- Check whether Google sign-in (Ueberauth) or email confirmation is enabled in your NervesHub deployment.\n- Review accounts whose emails were registered or changed by users not yet confirmed.","fix":"- nerves_hub: move to `2.5.3` or later","status":"open","published_at":"2026-11-10T11:16:42+00:00","first_seen_at":"2026-11-10T11:21:35+00:00","triaged_at":"2026-11-10T11:22:04+00:00","updated_at":"2026-11-10T11:22:04+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-10T11:22:04Z","model":"claude-haiku-5-5","output":{"fix":"- nerves_hub: move to `2.5.3` or later","reach":"internet","title":"NervesHub: email-based account takeover via unverified Google sign-in and confirmation","impact":"medium","summary":"NervesHub's Google sign-in and email confirmation link accounts to an email address without proving the account owner controls it. An attacker who registers a victim's email first keeps access to the account and gets into it when the owner signs in with Google or follows the confirmation link.","audience":"developers","category":"package","nicknames":[],"who_cares":["nerves_hub","self-hosted","elixir","google-sign-in"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"attacker shares a victim's account after the victim signs in","analyst_note":"","how_to_check":"- Check the installed nerves_hub version in the deployed release or `mix.lock`; the affected range is `2.3.0` up to but not including `2.5.3`.\n- Check whether Google sign-in (Ueberauth) or email confirmation is enabled in your NervesHub deployment.\n- Review accounts whose emails were registered or changed by users not yet confirmed.","plain_action":"","product_name":"nerves_hub","needs_analyst":false,"not_affected_if":["version-2.5.3-or-later","no-google-sign-in","no-email-confirmation"],"who_is_affected":"Self-hosted NervesHub instances running version 2.3.0 through 2.5.2 that have Google sign-in or email confirmation in use. The attacker needs no existing account: they register the victim's address first. Deployments on versions 2.5.3 or later, or that do not use either path, are not exposed to the account-sharing flow.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000806,"input_tokens":4905,"output_tokens":631,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-120999':17A,20A '-2026':16A,19A '/2':170C '2.3.0':294C '2.5.3':296C 'access':64B 'account':5A,42B,50B,67B,117C,135C,148C,158C,193C,231C,237C,262C,281C 'address':46B,111C,167C,183C,215C 'admin':204C 'affect':290C 'afterward':277C 'allow':102C 'also':235C 'anoth':107C 'api':251C 'attack':55B,104C,180C,269C 'authent':85C 'base':4A 'carri':136C 'chang':190C 'check':243C 'claim':248C 'close':240C 'confirm':14A,40B,82B,94C,155C,177C,225C,267C 'control':52B 'creat':124C,236C 'cve':15A,18A 'either':286C 'elixir':21B 'email':3A,39B,45B,61B,93C,110C,139C,154C,195C,246C,264C 'email-bas':2A 'ever':161C 'first':62B 'follow':80B,175C,223C 'form':189C 'gain':270C 'get':69B 'googl':9A,23B,34B,78B,88C,130C,147C,221C,233C,244C 'google-sign-in':22B 'grant':276C 'host':31B 'hub':27B,98C,100C,292C 'improp':84C 'invit':207C 'issu':259C,289C 'keep':63B,210C 'land':228C 'likewis':171C 'link':41B,83B,144C,149C,178C,208C,226C 'mark':152C 'nerv':26B,97C,99C,291C 'nerves-hub':96C 'nerveshub':1A,32B 'nerveshub.accounts.update':122C 'nerveshubweb.api.usercontroller':258C 'nerveshubweb.sessioncontroller.confirm':169C 'nerveshubweb.sessioncontroller.confirm/2':168C 'never':242C,266C,284C 'noth':279C 'organ':203C 'owner':51B,74B,160C,217C,283C 'packag':28B 'password':212C,253C 'path':234C,287C 'person':108C,115C 'prove':48B,163C 'regist':57B,106C,181C,199C 'registr':239C 'self':30B 'self-host':29B 'share':113C 'sign':11A,24B,36B,75B,90C,120C,128C,172C,187C,218C,255C 'sign-in':10A,35B,89C,254C 'sign-up':186C 'takeov':6A 'token':260C 'ueberauth/1':127C 'unverifi':8A 'use':285C 'user':125C,131C 'verifi':247C 'via':7A 'victim':59B,274C 'vulner':86C 'web':101C 'whoever':174C 'whose':263C,282C 'without':47B,156C 'yet':143C","nicknames":[],"mitigations":[],"who_affected":"Self-hosted NervesHub instances running version 2.3.0 through 2.5.2 that have Google sign-in or email confirmation in use. The attacker needs no existing account: they register the victim's address first. Deployments on versions 2.5.3 or later, or that do not use either path, are not exposed to the account-sharing flow.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["elixir","googlesignin","high","nerveshub","package","selfhosted"],"campaign_type":null,"search_a":"'-120999':17A,20A '-2026':16A,19A 'account':5A 'base':4A 'confirm':14A 'cve':15A,18A 'email':3A 'email-bas':2A 'googl':9A 'nerveshub':1A 'sign':11A 'sign-in':10A 'takeov':6A 'unverifi':8A 'via':7A","search_b":"'access':64B 'account':42B,50B,67B 'address':46B 'attack':55B 'confirm':40B,82B 'control':52B 'elixir':21B 'email':39B,45B,61B 'first':62B 'follow':80B 'get':69B 'googl':23B,34B,78B 'google-sign-in':22B 'host':31B 'hub':27B 'keep':63B 'link':41B,83B 'nerv':26B 'nerveshub':32B 'owner':51B,74B 'packag':28B 'prove':48B 'regist':57B 'self':30B 'self-host':29B 'sign':24B,36B,75B 'sign-in':35B 'victim':59B 'without':47B","search_c":"'/2':170C '2.3.0':294C '2.5.3':296C 'account':117C,135C,148C,158C,193C,231C,237C,262C,281C 'address':111C,167C,183C,215C 'admin':204C 'affect':290C 'afterward':277C 'allow':102C 'also':235C 'anoth':107C 'api':251C 'attack':104C,180C,269C 'authent':85C 'carri':136C 'chang':190C 'check':243C 'claim':248C 'close':240C 'confirm':94C,155C,177C,225C,267C 'creat':124C,236C 'either':286C 'email':93C,110C,139C,154C,195C,246C,264C 'ever':161C 'follow':175C,223C 'form':189C 'gain':270C 'googl':88C,130C,147C,221C,233C,244C 'grant':276C 'hub':98C,100C,292C 'improp':84C 'invit':207C 'issu':259C,289C 'keep':210C 'land':228C 'likewis':171C 'link':144C,149C,178C,208C,226C 'mark':152C 'nerv':97C,99C,291C 'nerves-hub':96C 'nerveshub.accounts.update':122C 'nerveshubweb.api.usercontroller':258C 'nerveshubweb.sessioncontroller.confirm':169C 'nerveshubweb.sessioncontroller.confirm/2':168C 'never':242C,266C,284C 'noth':279C 'organ':203C 'owner':160C,217C,283C 'password':212C,253C 'path':234C,287C 'person':108C,115C 'prove':163C 'regist':106C,181C,199C 'registr':239C 'share':113C 'sign':90C,120C,128C,172C,187C,218C,255C 'sign-in':89C,254C 'sign-up':186C 'token':260C 'ueberauth/1':127C 'use':285C 'user':125C,131C 'verifi':247C 'victim':274C 'vulner':86C 'web':101C 'whoever':174C 'whose':263C,282C 'without':156C 'yet':143C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-10T10:39:37+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-120999","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120999","severity":null,"published_at":"2026-11-10T11:16:42+00:00","modified_at":"2026-11-10T11:16:42+00:00","first_seen_at":"2026-11-10T11:21:35+00:00","fetched_at":"2026-11-10T11:21:35+00:00","note":null}],"documents":[{"id":114622,"url":"https://github.com/nerves-hub/nerves_hub_web/commit/54dbf93c3bd323df08223a853c9afcf0b4dbf8e4","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":114623,"url":"https://github.com/nerves-hub/nerves_hub_web/commit/74982672ab914bd6f37c3bc0e24a06e3474fa030","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":114624,"url":"https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-r92p-gg92-gmwm","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-10T10:39:37+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}