CVE-2025-64097

CRITICAL EPSS 33.8%
Published Jan 22, 20265mo ago · Modified Jun 17, 20262w ago
9.5 CVSS 4.0
Critical
Find Similar
Published Jan 22, 2026 5mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
9.5
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
33.8% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-330

Affected Products 1

VendorProductVersionRange
nerves-hubnerveshub*≥1.0.0  –  <2.3.0

References 3

  • github.com https://github.com/nerves-hub/nerves_hub_web/pull/2024
    Issue TrackingPatch
  • github.com https://github.com/nerves-hub/nerves_hub_web/releases/tag/v2.3.0
    ProductRelease Notes
  • github.com https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-m9vj-776q-vc8m
    Vendor Advisory

Remediation

  • github.com https://github.com/nerves-hub/nerves_hub_web/pull/2024
    Issue TrackingPatch