CVE-2026-120997Nerves Hub Web vulnerability
CVSS score
2.3
Low
CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploit probability (EPSS)
0.43%
0.43% chance of exploitation in the next 30 days, higher than 38.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
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.
Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
How to fix it, step by step
Check whether you're affected
Find every system running nerves-hub Nerves Hub Web and compare its version with the affected versions.
Update to a fixed version
- Update Nerves Hub Web to 2.5.3 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:L/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
Affected products
| Affected products | Versions |
|---|---|
| nerves-hub Nerves Hub Web | ≥ 1.0.0, < 2.5.3 · ≥ b5d2438677f79d10e91aeef20a7b5cd8cca0d63c, < a96497ddd4d24ab1847f7685e255bf96fd87b85b |
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-120997 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-120997?
CVE-2026-120997 has a CVSS 4.0 base score of 2.3 (low).
Which versions are affected?
Nerves Hub Nerves Hub Web (≥ 1.0.0, < 2.5.3; ≥ b5d2438677f79d10e91aeef20a7b5cd8cca0d63c, < a96497ddd4d24ab1847f7685e255bf96fd87b85b)
Is there a patch for CVE-2026-120997?
The official record links to vendor advisories or patches; see “What to do” above.
References
- cna.erlef.org/cves/CVE-2026-120997.html
- github.com/nerves-hub/nerves_hub_web/commit/a96497ddd4d24ab1847f7685e255bf96fd87b85b
- github.com/nerves-hub/nerves_hub_web/commit/b5d2438677f79d10e91aeef20a7b5cd8cca0d63c
- github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-c7jf-qcx9-xxf8
- osv.dev/vulnerability/EEF-CVE-2026-120997
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.