CVE-2025-64097
CWE-330Published: January 22, 2026· Updated: Jun 17, 2026
Official Description
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.
Risk Analysis
NervesHub is vulnerable to API token brute-forcing due to the use of predictable, non-cryptographically secure token formats. This allows unauthorized access to user accounts and API actions. The critical severity reflects the risk of widespread account compromise.
No public exploit is known, and the issue is not in CISA KEV. It is remotely exploitable.
Upgrade NervesHub to version 2.3.0 or later, which implements cryptographically secure token generation and hashing. Revoke and rotate any potentially compromised API tokens.
Technical Analysis
CVE-2025-64097 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (3)
Quick Facts
Related CVEs (CWE-330)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2025-64097 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts