Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

nerves_hub_web · Vulnerability

CVSS 4.0 7.4 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2026-120999

Published

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. The 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. This issue affects nerves_hub: from 2.3.0 before 2.5.3.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-120999

Published

nerves-hub/nerves-hub

https://ghcr.io

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "collectionURL": "https://ghcr.io",
                    "cpes": [
                        "cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.NervesHub.Accounts'",
                        "'Elixir.NervesHub.Accounts.User'",
                        "'Elixir.NervesHubWeb.SessionController'",
                        "'Elixir.NervesHubWeb.API.UserController'",
                        "'Elixir.NervesHubWeb.Live.Account'",
                        "'Elixir.NervesHubWeb.AccountController'"
                    ],
                    "packageName": "nerves-hub/nerves-hub",
                    "packageURL": "pkg:oci/nerves-hub?repository_url=ghcr.io%2Fnerves-hub%2Fnerves-hub",
                    "product": "nerves_hub_web",
                    "programFiles": [
                        "lib/nerves_hub/accounts.ex",
                        "lib/nerves_hub/accounts/user.ex",
                        "lib/nerves_hub_web/controllers/session_controller.ex",
                        "lib/nerves_hub_web/controllers/api/user_controller.ex",
                        "lib/nerves_hub_web/live/account.ex",
                        "lib/nerves_hub_web/controllers/account_controller.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.NervesHub.Accounts':update_or_create_user_from_ueberauth/1"
                        },
                        {
                            "name": "'Elixir.NervesHub.Accounts':authenticate/2"
                        },
                        {
                            "name": "'Elixir.NervesHub.Accounts.User':oauth_changeset/3"
                        },
                        {
                            "name": "'Elixir.NervesHubWeb.SessionController':confirm/2"
                        },
                        {
                            "name": "'Elixir.NervesHubWeb.API.UserController':auth/2"
                        },
                        {
                            "name": "'Elixir.NervesHubWeb.API.UserController':login/2"
                        }
                    ],
                    "vendor": "nerves-hub",
                    "versions": [
                        {
                            "lessThan": "2.5.3",
                            "status": "affected",
                            "version": "2.3.0",
                            "versionType": "other"
                        }
                    ]
                }

nerves_hub

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "cpes": [
                        "cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.NervesHub.Accounts'",
                        "'Elixir.NervesHub.Accounts.User'",
                        "'Elixir.NervesHubWeb.SessionController'",
                        "'Elixir.NervesHubWeb.API.UserController'",
                        "'Elixir.NervesHubWeb.Live.Account'",
                        "'Elixir.NervesHubWeb.AccountController'"
                    ],
                    "packageName": "nerves_hub",
                    "packageURL": "pkg:otp/nerves_hub?repository_url=https:%2F%2Fgithub.com%2Fnerves-hub%2Fnerves_hub_web&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Fnerves-hub%2Fnerves_hub_web.git",
                    "product": "nerves_hub_web",
                    "programFiles": [
                        "lib/nerves_hub/accounts.ex",
                        "lib/nerves_hub/accounts/user.ex",
                        "lib/nerves_hub_web/controllers/session_controller.ex",
                        "lib/nerves_hub_web/controllers/api/user_controller.ex",
                        "lib/nerves_hub_web/live/account.ex",
                        "lib/nerves_hub_web/controllers/account_controller.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.NervesHub.Accounts':update_or_create_user_from_ueberauth/1"
                        },
                        {
                            "name": "'Elixir.NervesHub.Accounts':authenticate/2"
                        },
                        {
                            "name": "'Elixir.NervesHub.Accounts.User':oauth_changeset/3"
                        },
                        {
                            "name": "'Elixir.NervesHubWeb.SessionController':confirm/2"
                        },
                        {
                            "name": "'Elixir.NervesHubWeb.API.UserController':auth/2"
                        },
                        {
                            "name": "'Elixir.NervesHubWeb.API.UserController':login/2"
                        }
                    ],
                    "repo": "https://github.com/nerves-hub/nerves_hub_web",
                    "vendor": "nerves-hub",
                    "versions": [
                        {
                            "lessThan": "2.5.3",
                            "status": "affected",
                            "version": "2.3.0",
                            "versionType": "semver"
                        }
                    ]
                }

nerves-hub/nerves_hub_web

https://github.com

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.NervesHub.Accounts'",
                        "'Elixir.NervesHub.Accounts.User'",
                        "'Elixir.NervesHubWeb.SessionController'",
                        "'Elixir.NervesHubWeb.API.UserController'",
                        "'Elixir.NervesHubWeb.Live.Account'",
                        "'Elixir.NervesHubWeb.AccountController'"
                    ],
                    "packageName": "nerves-hub/nerves_hub_web",
                    "packageURL": "pkg:github/nerves-hub/nerves_hub_web",
                    "product": "nerves_hub_web",
                    "programFiles": [
                        "lib/nerves_hub/accounts.ex",
                        "lib/nerves_hub/accounts/user.ex",
                        "lib/nerves_hub_web/controllers/session_controller.ex",
                        "lib/nerves_hub_web/controllers/api/user_controller.ex",
                        "lib/nerves_hub_web/live/account.ex",
                        "lib/nerves_hub_web/controllers/account_controller.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.NervesHub.Accounts':update_or_create_user_from_ueberauth/1"
                        },
                        {
                            "name": "'Elixir.NervesHub.Accounts':authenticate/2"
                        },
                        {
                            "name": "'Elixir.NervesHub.Accounts.User':oauth_changeset/3"
                        },
                        {
                            "name": "'Elixir.NervesHubWeb.SessionController':confirm/2"
                        },
                        {
                            "name": "'Elixir.NervesHubWeb.API.UserController':auth/2"
                        },
                        {
                            "name": "'Elixir.NervesHubWeb.API.UserController':login/2"
                        }
                    ],
                    "repo": "https://github.com/nerves-hub/nerves_hub_web",
                    "vendor": "nerves-hub",
                    "versions": [
                        {
                            "lessThan": "54dbf93c3bd323df08223a853c9afcf0b4dbf8e4",
                            "status": "affected",
                            "version": "74982672ab914bd6f37c3bc0e24a06e3474fa030",
                            "versionType": "git"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 13 Nov 01:58 UTC · 274 of 275 readable · 272 fully read · documentation 464/469 current