CVE-2026-125275

High

Description

Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in device certificate verification in nerves-hub nerves_hub_web allows an unauthenticated remote attacker to cause a denial of service via a TLS client certificate whose CA is not registered. When a client certificate chains to a root in the device endpoint's trust store but no CA in the chain is registered in NervesHub, NervesHub.SSL.decide/2 refuses it with the reason :unknown_ca. Erlang/OTP ssl reads that reason as a missing trust anchor, looks for an alternative root, finds the same root and validates again without end. The handshake process queries the database on each pass and keeps running after the client disconnects, until the node restarts. The device endpoint trusts the public roots from CAStore unless DEVICE_SSL_CACERTFILE is set, so a client certificate from a public CA whose chain allows client authentication is sufficient. A chain that ends at a root outside the trust store is refused once. This issue affects nerves_hub: from 1.0.0 before 2.5.4.

SeverityHigh
CVSS8.2
Exploit probability—
ProductNerves-hub Nerves Hub Web
PublishedNov 17, 2026
First seenNov 17, 2026
Weakness typeCWE-835CWE-835

How to fix

Update
  • nerves-hub nerves_hub_web2.5.4, 064e78cc189dd9b87748746f44179632a52ddf58 or later

Affected products

ProductAffected versionsFixed in
nerves-hub nerves_hub_web1.0.0 ≤ v < 2.5.4, a49fb8875f3aab40062881028ef4e406d985aaa9 ≤ v < 064e78cc189dd9b87748746f44179632a52ddf582.5.4, 064e78cc189dd9b87748746f44179632a52ddf58

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-125275 · Nerves-hub Nerves Hub Web · Dark Radar