CVE-2026-120997 Improper Session Invalidation vulnerability in the dashboard pages, device console and local shell channels in nerves-hub nerves_hub_web all

Low 2.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-120997?

CVE-2026-120997 is a low-severity vulnerability in nerves-hub nerves_hub_web, published on 10 Nov 2026.

Official description

Improper Session Invalidation vulnerability in the dashboard pages, device console and local shell channels in nerves-hub nerves_hub_web allows an organization member who is removed or given a lower role to keep acting at their old role through anything they had open at the time. The dashboard reads the member's role once when a page mounts, in the assign_org_to_scope hook of NervesHubWeb.Auth, and the console, local shell and device event stream channels check membership once at join. Removing a member or changing their role tells none of them, so open pages keep carrying out actions and open consoles keep running commands on the device until the page reloads or the socket disconnects.

The dashboard also opens consoles over NervesHubWeb.UserSocket with a token that holds only the user's id, is accepted for 24 hours, and is not revoked by signing out, which disconnects only the session's LiveViews. Whoever holds a token taken from a page can open consoles as that user, within the user's current membership, until it expires.

This issue affects nerves_hub: from 1.0.0 before 2.5.3.

Weakness: CWE-1465, CWE-1464

Which versions are affected by CVE-2026-120997?

2 open source packages ship an affected version, including nerves-hub/nerves-hub and nerves_hub. It affects 1 product.

PackageAffectedFixed in
nerves-hub/nerves-hub oci
pkg:oci/nerves-hub?repository_url=ghcr.io/nerves-hub/nerves-hub
From 1.0.02.5.3
nerves_hub otp
pkg:otp/nerves_hub?repository_url=https://github.com/nerves-hub/nerves_hub_web
From 1.0.02.5.3

Products include Nerves-Hub Nerves Hub Web.

CPE match criteria (1)
CPE 2.3Versions
cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:*from 1.0.0, before 2.5.3

How do I fix CVE-2026-120997?

Upgrade nerves-hub/nerves-hub to 2.5.3 or later.

Is CVE-2026-120997 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-120997 exists.

Sources

Also known as EEF-CVE-2026-120997, GHSA-c7jf-qcx9-xxf8.

Is CVE-2026-120997 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free