CVE-2026-125275: high-severity vulnerability in nerves-hub nerves_hub_web
A device certificate whose CA isn't registered can keep a TLS handshake running forever
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.2epss 0.4%
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.
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
Affected products
nerves-hub · nerves_hub_webRelated CVEs — nerves-hub nerves_hub_web
In the same product, most dangerous first.
CVE-2026-119446CRITICALSession fixation in the CLI login flow allows an unauthenticated attacker to obtain a user's API tokenEPSS 0.6%CVE-2026-120730HIGHMass assignment of organization, product and deployment group IDs allows users to write into other organizations and receive their firmwareEPSS 0.6%CVE-2026-28806CRITICALImproper authorization in device bulk actions and device update API allows cross-organization device controlEPSS 0.5%CVE-2025-64097CRITICALNervesHub has Insufficient Token Entropy that Allows Authentication Bypass via Brute ForceEPSS 0.5%CVE-2026-120997LOWImproper session invalidation keeps removed or demoted members' open pages and device consoles working at their old roleEPSS 0.4%CVE-2026-120295HIGHIncorrect authorization in the devices page bulk move allows view-role members to move devices into another organization and receive its firmwareEPSS 0.4%
References
https://cna.erlef.org/cves/CVE-2026-125275.htmlhttps://github.com/nerves-hub/nerves_hub_web/commit/064e78cc189dd9b87748746f44179632a52ddf58https://github.com/nerves-hub/nerves_hub_web/commit/a49fb8875f3aab40062881028ef4e406d985aaa9https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-8j48-4mg5-7v6vhttps://osv.dev/vulnerability/EEF-CVE-2026-125275