PT-2026-141572
CVE-2026-120997
·
Published
2026-11-10
·
Updated
2026-11-12
Description by
CVSS 4.0
2.3
LowMetricsAV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:L/SA:N
Name of the Vulnerable Software and Affected Versions
nerves hub versions 1.0.0 through 2.5.2
Description
Improper session invalidation in the dashboard pages, device console, and local shell channels of nerves hub web allows organization members who are removed or downgraded to maintain their previous privileges through active sessions. The dashboard verifies roles only during page mount via the
assign org to scope hook in NervesHubWeb.Auth, while the console, local shell, and device event stream channels verify membership only upon joining. Consequently, active pages and consoles continue to execute actions and commands until a page reload or socket disconnection occurs.Additionally, the dashboard utilizes
NervesHubWeb.UserSocket with tokens containing only the user's ID. These tokens remain valid for 24 hours and are not revoked upon signing out, which only disconnects LiveViews. An attacker possessing such a token can open consoles as that user within their current membership until the token expires.Recommendations
Update nerves hub to version 2.5.3 or later.
As a temporary workaround, restart the web nodes after removing a member or lowering their role to force the closure of all open pages and consoles.
To revoke active socket tokens, change the
SECRET KEY BASE, though this will sign out all users. Found an issue in the description? Have something to add? Feel free to write us 👾