Skip to main content

NervesHub CVE-2026-120999

| EUVDEUVD-2026-120868 HIGH
Improper Authentication (CWE-287)
2026-11-10 EEF
7.4
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register victim's email with attacker-chosen password
  2. Delivery
    Leave account unconfirmed and retain credentials
  3. Exploit
    Victim signs in via Google or follows confirmation link
  4. Execution
    Victim lands in attacker-controlled account
  5. Impact
    Attacker re-authenticates with kept password and inherits victim's orgs/roles

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Preconditions are concrete and feature-specific. The Google-sign-in variants require Google sign-in to be enabled on the instance (GOOGLE_CLIENT_ID set) and exploit update_or_create_user_from_ueberauth/1 linking any same-email, non-Google-linked account without checking ownership or Google's email_verified claim. The attacker must first place the target address on an account by one of: registering it from the sign-up form (requires OPEN_FOR_REGISTRATIONS), changing an existing password account's email to it on the account page (works even with registrations closed), or registering it as an org admin from a copyable invite link. The confirmation-link variant (SessionController.confirm/2) and the API password sign-in (POST /api/users/auth, /api/users/login issuing tokens to unconfirmed emails) do NOT require Google sign-in at all. Key limiting factors: exploitation is not self-contained - it hinges on the legitimate email owner later signing in with Google or following the confirmation link (attacker-uncontrolled timing, active victim interaction), the attacker must win the race to claim the address before the victim's first sign-in, and the attacker gains only the access the victim is subsequently granted and nothing on accounts whose owners never use these paths.

Impact

This is a genuine authentication-design flaw (CWE-287/CWE-345) rather than a high-CVSS-but-hollow issue, but its real-world urgency is moderate and conditional. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:A, VC:H/VI:H/VA:N, score 7.4) tells a consistent story: network-reachable, but gated by an attacker-uncontrolled event (AT:P) and active victim interaction (UI:A) - the attacker must plant an email on an account and then wait for the legitimate owner to sign in with Google or follow a confirmation link. No EPSS score and no CISA KEV entry were provided, and there is no indication of active exploitation, so this reads as a targeted, opportunistic weakness rather than a mass-exploited one; the vuln.today decision label is 'this_week' (not act_now/emergency), aligning with the AT:P/UI:A dependency. A detailed step-by-step proof-of-concept is published in the EEF/GHSA advisory itself, lowering the practical barrier to reproduction, though it is a written reproduction procedure, not packaged standalone exploit code. The main limiting signal is configuration dependence: the Google-path variants require Google sign-in to be enabled (GOOGLE_CLIENT_ID set), and the attacker only ever inherits whatever access the victim is subsequently granted. Net: a confirmed, patch-this-week authentication bug whose blast radius is throttled by required victim action and timing, not a drop-everything internet-wide emergency.

Exploit ScenarioDerived

With registrations open, an attacker registers victim@example.com from the sign-up form, choosing and keeping their own password, and leaves it unconfirmed. When the real owner later signs in with Google (or follows a confirmation-email link), NervesHub links/confirms and signs them into the attacker's pre-existing account; the attacker, still knowing the password, logs back in and inherits every org and role the victim accepts. A full reproduction procedure is published in the vendor advisory, including a no-Google variant where an org admin registers the invited address from the copyable invite link.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

NervesHub 2.3.0 through 2.5.2 will sign a person in to an account that someone else created with their email address, so an attacker who plants a victim's address on an account keeps the password and shares everything the victim is later granted. The attacker registers the address from the sign-up form, changes an existing account's email to it, or registers it from an org-admin invite link, then waits for the address's owner to sign in with Google (which auto-links and confirms any same-email account without checking Google's email_verified claim) or to follow a confirmation link that signs the follower straight in; the API's password sign-in also issues tokens to accounts whose email was never confirmed. Exploitation is unauthenticated per the CVSS vector (PR:N) but is not self-contained - success hinges on the legitimate owner later using one of those paths and on the attacker claiming the address first - the vendor advisory publishes a step-by-step proof of concept but no confirmed in-the-wild exploitation is recorded, and a fixed release is available in 2.5.3.

RemediationAI

Upgrade to NervesHub 2.5.3, which is the vendor-released patch (commit 54dbf93c3bd323df08223a853c9afcf0b4dbf8e4), before doing anything else, because the fix requires Google to have verified the address, demands the account's password (or a reset) before linking an existing account by email, only creates accounts when SIGN_UP_METHODS includes google or a pending invite exists, defers email changes until the new address is confirmed, refuses API password sign-in for unconfirmed emails, and stops confirmation links from signing the follower in. Because SIGN_UP_METHODS replaces OPEN_FOR_REGISTRATIONS, plan the configuration before upgrading: OPEN_FOR_REGISTRATIONS=true keeps working and still opens both the form and Google, instances that rely on Google to create accounts while registrations are off must set SIGN_UP_METHODS=google or account creation will be invite-only, and SIGN_UP_METHODS=none restricts sign-up to invites and silences the startup warning printed when GOOGLE_CLIENT_ID is set without SIGN_UP_METHODS. If you cannot upgrade immediately, unset GOOGLE_CLIENT_ID to turn off Google sign-in - the trade-off is that users who only authenticate through Google cannot sign in at all - but note this does not close the confirmation-link path, and turning registrations off does not stop an org admin from registering an address from a copyable invite link. After upgrading, review existing links with the vendor's query: SELECT id, email, google_id, inserted_at, confirmed_at, google_last_synced_at FROM users WHERE password_hash IS NOT NULL AND google_id IS NOT NULL AND deleted_at IS NULL; for any link the owner did not set up, set google_id to NULL, delete that user's rows in user_tokens to end sessions and revoke API tokens, then have the address's owner reset the password (a reset on a Google-linked account sends a 'Login with Google' mail instead of a reset link, so google_id must be cleared first), and restart the web nodes afterwards since pages already open in the other party's browser keep working until they reload or reconnect.

Affected VersionsENISA

nerves_hub_web 2.3.0 <2.5.3
nerves_hub_web 74982672ab914bd6f37c3bc0e24a06e3474fa030 <54dbf93c3bd323df08223a853c9afcf0b4dbf8e4

Affected Packages

euvd nerves_hub_web fix: 2.5.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NervesHub is an Elixir/Phoenix firmware-update platform distributed as the Hex package otp/nerves_hub and the container image ghcr.io/nerves-hub/nerves-hub (CPE cpe:2.3:a:nerves-hub:nerves_hub_web). The root cause is CWE-287 (improper authentication), with the advisory also tagging CWE-345 (insufficient verification of data authenticity): authentication decisions are keyed on an email string that NervesHub never required anyone to prove ownership of. In lib/nerves_hub/accounts.ex, update_or_create_user_from_ueberauth/1 resolves a Google sign-in by first using an existing google_id link, then falling back to any account with a matching address that has no Google link - linking it, signing the Google user in, and marking the address confirmed via User.oauth_changeset/3 - and only then creating a new account. That fallback trusts an unverified attribute, because the account page (lib/nerves_hub_web/live/account.ex) saves a changed email immediately and the sign-up form is the only path that consults OPEN_FOR_REGISTRATIONS. The same function never inspects Google's email_verified claim and bypasses the registration gate entirely. Independently, SessionController.confirm/2 both confirms and signs in whoever follows the emailed link, and the API user controller (POST /api/users/auth and the deprecated POST /api/users/login) mints API tokens for accounts whose email is still unconfirmed, a check the web login does perform. The 2.5.3 fix restructures the flow around proof of ownership: password entry or reset before linking, a confirmation link for email changes, an invite key delivered only to the invited address, email_verified enforcement, and a SIGN_UP_METHODS setting replacing OPEN_FOR_REGISTRATIONS.

Know when Nerves Hub Web gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 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
vuln.today AI 6.8 MEDIUM

Network-reachable with no attacker privileges (PR:N via open registration), but AC:H and UI:R because success depends on the victim later choosing to sign in via Google or follow the link; C:H/I:H for full account/org takeover, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-287 (Improper Authentication); the advisory also tags CWE-345 (Insufficient Verification of Data Authenticity).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-120999 is a high-severity authentication flaw in NervesHub versions 2.3.0 through 2.5.2 that allows an attacker to pre-register a victim's email address and subsequently gain access to the victim's account when the legitimate owner signs in or confirms via Google or a confirmation link. This enables unauthorized access to device management and organizational data. Leadership should care because affected users may have their accounts and associated resources compromised, and although exploitation requires user interaction, the published proof of concept increases the likelihood of attempts.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche self-hosted Elixir/Nerves IoT firmware-management platform, limited enterprise footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy