CVE-2025-64097

NervesHub is a web service that allows users to manage over-the-air (OTA) firmware updates of devices in the field. A vulnerability present starting in version 1.0.0 and prior to version 2.3.0 allowed attackers to brute-force user API tokens due to the predictable format of previously issued tokens. Tokens included user-identifiable components and were not cryptographically secure, making them susceptible to guessing or enumeration. The vulnerability could have allowed unauthorized access to user accounts or API actions protected by these tokens. A fix is available in version 2.3.0 of NervesHub. This version introduces strong, cryptographically-random tokens using `:crypto.strong_rand_bytes/1`, hashing of tokens before database storage to prevent misuse even if the database is compromised, and context-aware token storage to distinguish between session and API tokens. There are no practical workarounds for this issue other than upgrading. In sensitive environments, as a temporary mitigation, firewalling access to the NervesHub server can help limit exposure until an upgrade is possible.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nerves-hub:nerveshub:*:*:*:*:*:*:*:*

History

17 Feb 2026, 19:37

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CPE cpe:2.3:a:nerves-hub:nerveshub:*:*:*:*:*:*:*:*
First Time Nerves-hub nerveshub
Nerves-hub
References () https://github.com/nerves-hub/nerves_hub_web/pull/2024 - () https://github.com/nerves-hub/nerves_hub_web/pull/2024 - Issue Tracking, Patch
References () https://github.com/nerves-hub/nerves_hub_web/releases/tag/v2.3.0 - () https://github.com/nerves-hub/nerves_hub_web/releases/tag/v2.3.0 - Product, Release Notes
References () https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-m9vj-776q-vc8m - () https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-m9vj-776q-vc8m - Vendor Advisory

22 Jan 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-22 15:16

Updated : 2026-02-17 19:37


NVD link : CVE-2025-64097

Mitre link : CVE-2025-64097

CVE.ORG link : CVE-2025-64097


JSON object : View

Products Affected

nerves-hub

  • nerveshub
CWE
CWE-330

Use of Insufficiently Random Values