Improper authentication in NervesHub Web exposes accounts via email
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
Google sign-in and email confirmation in nerves-hub nerves_hub_web from 2.3.0 before 2.5.3 use improper authentication (CWE-287). An unauthenticated remote attacker who registers another person's email address can gain access to the account that carries it, and the owner then signs in to that shared account, which requires user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nerves-hub | nerves_hub_web | 2.3.0 to before 2.5.3 | 2.5.3 | Patch available | CNA |
| nerves-hub | nerves_hub_web | 2.3.0 to before 2.5.3 | 2.5.3 | Patch available | CNA |
- nerves_hub_web Vendornerves-hub Affected 2.3.0 to before 2.5.3 Fixed in 2.5.3 Patch available CNA
- nerves_hub_web Vendornerves-hub Affected 2.3.0 to before 2.5.3 Fixed in 2.5.3 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* | — | — | nerves-hub |
- cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* Versions — — ·nerves-hub
Remediation
Upgrade nerves-hub nerves_hub_web to 2.5.3, the fixed version for the affected range from 2.3.0 before 2.5.3.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA nerves_hub_web (nerves-hub) Fixed in 2.5.3
- Fix · CNA nerves_hub_web (nerves-hub) Fixed in 2.5.3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
nerves-hub nerves_hub_web 2.5.3
6 records Highest priority Priority HIGH 3 HIGH, 3 MEDIUM
Other records, highest priority first
- TI-2026-87598 Session fixation in NervesHub CLI login exposes user API tokensPriority HIGH 76
- TI-2026-87601 Mass assignment in NervesHub lets users write into other organizationsPriority HIGH 72
- TI-2026-87600 Incorrect authorization in NervesHub Web lets view users move devicesPriority MEDIUM 64
Timeline
- 2026-11-10 Threatist record created from CVE-2026-120999
- 2026-11-11 Fix available: [email protected] · CNA
- 2026-11-11 Fix available: nerves-hub/[email protected] · CNA
- 2026-11-12 Priority changed: MEDIUM → LOW
- 2026-11-12 CISA SSVC decision points changed
References
More nerves-hub vulnerabilities
- TI-2026-87598 Session fixation in NervesHub CLI login exposes user API tokens CVSS 4.0CRITICAL 9.4
- TI-2026-87601 Mass assignment in NervesHub lets users write into other organizations CVSS 4.0HIGH 8.6
- TI-2026-87600 Incorrect authorization in NervesHub Web lets view users move devices CVSS 4.0HIGH 7.1
- TI-2026-87599 Missing authorization in nerves_hub_web lets viewers change devices CVSS 4.0MEDIUM 5.3
- TI-2025-39548 NervesHub has Insufficient Token Entropy that Allows Authentication Bypass via Brute Force CVSS 4.0CRITICAL 9.5
- TI-2026-87602 Removed or demoted nerves_hub_web members keep their old role CVSS 4.0LOW 2.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences