CVE-2026-125275 · Package
NO FIX YET · SEE WHAT TO DO
NervesHub's device endpoint can be sent a TLS client certificate whose issuing CA is not registered, which makes Erlang/OTP's SSL stack loop forever on certificate validation. Each looping handshake keeps a process querying the database until the node restarts, so an unauthenticated attacker can cause denial of service.
first public Nov 17, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Operators running a self-hosted NervesHub device endpoint with nerves_hub from 1.0.0 before 2.5.4. Because the endpoint trusts public CAStore roots by default, a client certificate from any public CA whose chain allows client authentication is enough to trigger the loop; deployments that set DEVICE_SSL_CACERTFILE to a narrower trust store are only exposed to chains that end at a root in that store.
Not affected if managed-hosting, version-2.5.4-or-later
Who cares elixir, erlang-otp, iot, nerves-hub, self-hosted
mix.lock or mix.exs and see whether it is between 1.0.0 and 2.5.4.DEVICE_SSL_CACERTFILE is set in the device endpoint's environment; if it is not, the endpoint trusts public CAStore roots.2.5.4 or laterLoop 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.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/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
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.