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
Check your servers for CVE-2026-120999
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-120999 affects nerves_hub, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- active: a user has to take a deliberate step, such as installing or running something
- Impact on the vulnerable system
- confidentiality high, integrity high, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.3% of all scored CVEs. Scores of 2 Dec 2026.
The assessment of CISA (SSVC, 12 Nov 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
nerves_hub_web
package
nerves-hub/nerves-hub |
affected from 2.3.0, before 2.5.3
Other versions: unaffected
|
|
nerves_hub_web
package
nerves_hub |
affected from 2.3.0, before 2.5.3
Other versions: unaffected
|
|
nerves_hub_web
package
nerves-hub/nerves_hub_web |
affected from 74982672ab914bd6f37c3bc0e24a06e3474fa030, before 54dbf93c3bd323df08223a853c9afcf0b4dbf8e4
Other versions: unaffected
|
Is my server affected?
Find the installed version of nerves_hub and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i nerves_hub
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-120999 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-120999RHEL, Rocky, Alma, Fedora
rpm -q nerves_hub
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-120999Alpine
apk list --installed | grep -i nerves_hubWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-120999
trivy image --scanners vuln IMAGE | grep CVE-2026-120999
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Patches and release notes
- Fix commit 54dbf93 in nerves-hub/nerves_hub_web github.com · patch
Exploits and proof of concept
- Google sign-in and email confirmation links sign users in to accounts other people registered with their email address github.com · vendor advisory, related, exploit
Other references
- EEF CNA record for CVE-2026-120999 cna.erlef.org · related
- OSV record EEF-CVE-2026-120999 osv.dev · related
- Introducing commit 7498267 in nerves-hub/nerves_hub_web github.com · related
Source: the record CVE-2026-120999 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse