NervesHub has Insufficient Token Entropy that Allows Authentication Bypass via Brute Force
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- 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 | 1.0.0 to before 2.3.0 | 2.3.0 | Patch available | CNA |
- nerves_hub_web Vendornerves-hub Affected 1.0.0 to before 2.3.0 Fixed in 2.3.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nerves-hub:nerveshub:*:*:*:*:*:*:*:* | 1.0.0 to before 2.3.0 | Vulnerable | nerves-hub |
- cpe:2.3:a:nerves-hub:nerveshub:*:*:*:*:*:*:*:* Versions 1.0.0 to before 2.3.0 Vulnerable ·nerves-hub
Remediation
- Fix · CNA nerves_hub_web (nerves-hub) Fixed in 2.3.0
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64097
References
More nerves-hub Nerveshub vulnerabilities
- TI-2026-23000 Improper authorization in device bulk actions and device update API allows cross-organization device control CVSS 4.0CRITICAL 9.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences