# CVE-2026-120999: Improper authentication lets Google sign-in and confirmation links sign users in to accounts registered with their email address by someone else

- Severity: High 7.4 (CVSS:4.0, scored by EEF) `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`
- 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.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-10T10:43:38.941Z
- Modified: 2026-11-25T06:30:18.803Z
- Also known as: EEF-CVE-2026-120999, GHSA-r92p-gg92-gmwm
- Weaknesses: CWE-287, CWE-345
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: EEF

## 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.

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.

(As written by CVE List.)

## Affected

- nerves-hub/nerves-hub: from 2.3.0 before 2.5.3
- nerves_hub: from 2.3.0 before 2.5.3
- nerves-hub/nerves_hub_web: from 74982672ab914bd6f37c3bc0e24a06e3474fa030 before 54dbf93c3bd323df08223a853c9afcf0b4dbf8e4
- https://github.com/nerves-hub/nerves_hub_web: from 74982672ab914bd6f37c3bc0e24a06e3474fa030 before 54dbf93c3bd323df08223a853c9afcf0b4dbf8e4

## Every score

- EEF: CVSS:4.0 7.4 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-r92p-gg92-gmwm> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-120999.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-120999> (related)
- <https://github.com/nerves-hub/nerves_hub_web/commit/74982672ab914bd6f37c3bc0e24a06e3474fa030> (related, web)
- <https://github.com/nerves-hub/nerves_hub_web/commit/54dbf93c3bd323df08223a853c9afcf0b4dbf8e4> (fix, patch)

## Sources

- CVE List: [CVE-2026-120999](https://www.cve.org/CVERecord?id=CVE-2026-120999), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-120999](https://osv.dev/vulnerability/EEF-CVE-2026-120999), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-120999](https://nvd.nist.gov/vuln/detail/CVE-2026-120999), Public domain, modified 2026-11-12

---

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