Skip to main content

NervesHub CVE-2026-119446

| EUVDEUVD-2026-120874 CRITICAL
Session Fixation (CWE-384)
2026-11-10 EEF
9.4
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Start unauthenticated CLI session via POST /api/auth/cli_session
  2. Delivery
    Phish victim with crafted /auth/cli/<token> link and code
  3. Exploit
    Victim signed-in opens link, clicks Confirm login
  4. Execution
    Poll GET /api/auth/cli_session/<token> returns user API token
  5. Impact
    Act as victim across all their orgs via API

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session fixation prevention
Exploitation Conditions

Exploitation requires the NervesHub web application running an affected version (2.5.0, when CLI login was introduced, through 2.5.2) and a victim who is currently signed into the NervesHub web UI, opens the attacker-supplied /auth/cli/<token> link, and clicks 'Confirm login'. The attacker needs no account because POST /api/auth/cli_session is unauthenticated. Key limiting factors defenders should weigh: the attack is gated on active user interaction (a deliberate click, so phishing is mandatory - UI:A); the confirm page carries a CSRF token and cannot be framed, so forced-request and clickjacking techniques do not work; and only the vulnerable versions are affected. Workaround per vendor: block POST /api/auth/cli_session at the reverse proxy until upgrading. Note that upgrading does not revoke already-issued tokens, which must be deleted manually from the account page.

Impact

This is a genuine high-priority issue, not a CVSS-inflated one. The vendor (Erlang Ecosystem Foundation CNA / EEF) and the GHSA advisory confirm a complete account-takeover primitive: an unauthenticated attacker obtains a fully functional API token for any NervesHub user they can socially engineer. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) correctly reflects remote, unauthenticated, low-complexity exploitation gated only by one user action, and the vuln.today decision label is act_now with a patch available. The sole dampener is UI:A (Active user interaction): the confirm form carries a CSRF token and the page cannot be framed, so the victim must themselves open the link and click Confirm - this rules out drive-by/clickjacking and forces a convincing phishing lure (made easier because the attacker also holds the confirmation code and can quote it). No EPSS score and no CISA KEV entry were supplied, so there is no evidence of mass automated exploitation; realistic risk is targeted social-engineering against known NervesHub operators rather than widespread opportunistic attack. A detailed, reproducible proof-of-concept is published in the vendor advisory, lowering the bar for an attacker to weaponize this.

Exploit ScenarioDerived

An attacker with no account calls POST /api/auth/cli_session, receives a polling token, a /auth/cli/<token> confirmation URL and a six-digit code, then phishes a signed-in NervesHub user to open the URL and click 'Confirm login' (quoting the code so it looks legitimate). The victim's click mints an API token that the attacker retrieves by polling GET /api/auth/cli_session/<token>, then acts as that user across every org they belong to. A full step-by-step PoC is published in the GHSA advisory, though the attack still requires the victim's click (UI:A).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

NervesHub CLI login (nerves_hub_web 2.5.0 through 2.5.2) hands an API token to whichever party started the login, so an attacker with no account can call POST /api/auth/cli_session, send the returned /auth/cli/<token> link and its displayed six-digit code to a signed-in NervesHub user, and receive that user's API token on the next poll once the victim clicks 'Confirm login'. The confirmation code is never compared server-side, so it cannot prove the confirming user initiated the flow; the confirm form does carry a CSRF token and the page cannot be framed, so exploitation depends entirely on persuading the victim to open the link and click the button themselves (UI:R, phishing prerequisite). The vendor fixed this in 2.5.3, and while no active exploitation has been confirmed, the advisory publishes an explicit proof-of-concept sequence - a public PoC reference exists; it is not verified as working exploit code - and the vuln.today decision label is act_now given the full-impact token theft it enables.

RemediationAI

Vendor-released patch: upgrade nerves_hub_web to 2.5.3 (fix commit 3131f1701194b581ab4b3e5e9d81194fc9c83508, advisory GHSA-9vr9-463q-46qp); existing nh clients need no changes because they print the URL and code the server returns. If you cannot upgrade immediately, block POST /api/auth/cli_session at the reverse proxy - this stops the attack entirely but breaks nh user login, so CLI users must fall back to nh user auth (email and password against POST /api/users/auth) or an API token generated on the account page. Upgrading does not revoke tokens already handed out: a token obtained through this flow is an ordinary API token carrying a CLI-chosen note, it survives the victim signing out of the web UI, and it remains valid until deleted, so every NervesHub user should review their API tokens on the account page and delete any they do not recognise. Note also that the 2.5.3 redesign closes the one-click link but cannot prove who typed the code - an attacker can still send a code with instructions to enter it at /auth/cli, the residual limit of every device-code login (RFC 8628 section 5.4) - so keep user reporting of unsolicited login-link messages in place alongside the patch.

Affected VersionsENISA

nerves_hub_web e6bf11a812d7aa8b69d854ba8ef02d65516f5564 <3131f1701194b581ab4b3e5e9d81194fc9c83508
nerves_hub_web 2.5.0 <2.5.3

Affected Packages

euvd nerves_hub_web fix: 2.5.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NervesHub is an Elixir/Phoenix firmware-update server for Nerves devices, and the flaw sits in its device-code style CLI login (modelled on RFC 8628). In the affected code, POST /api/auth/cli_session is unauthenticated and returns a polling token (an Ecto.UUID), a URL /auth/cli/<token> that embeds that polling token, and a six-digit confirmation code generated with Enum.random/1. Whoever opens the URL while signed in reaches the approval page registered in router.ex, and submitting the form calls NervesHub.Accounts.verify_cli_session_token/2, which mints an ordinary API token for the signed-in user and stores it on the login record; the next GET /api/auth/cli_session/<token> returns it to the originator. That is CWE-384 (Session Fixation): the session identity is chosen by the attacker and bound to the victim's credentials rather than regenerated from a value only the legitimate initiator knows. The confirmation code exists only as a display artefact and is never compared with the stored value, so it provides no binding between the initiator and the approver. The remaining barriers - a CSRF token on the confirm form and frame-busting headers - block forced-request and clickjacking paths but not a user who is socially engineered into clicking. The 2.5.3 fix (commit 3131f1701) moves approval to a single /auth/cli page where the user types an eight-digit CSPRNG code that never reaches the browser, keeps codes unique among waiting logins, rate-limits code attempts to ten per ten minutes per user per web node and session creation to ten per ten minutes per address, caps the CLI-supplied note at 255 characters with control and bidi formatting characters stripped, and surfaces the login start time, origin address and description with a warning when the origin differs from the browser's address.

Know when Session Fixation gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.6 CRITICAL

Remote unauthenticated start (PR:N) but the victim must click Confirm (UI:R); the stolen token grants full cross-org account control beyond the login component, so S:C and C/I/A:H.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

DescriptionCVE.org

Session Fixation vulnerability in the CLI login flow in nerves-hub nerves_hub_web allows an unauthenticated attacker to obtain an API token for another user's account via a crafted login link. Starting a CLI login with POST /api/auth/cli_session needs no authentication and returns a polling token, a confirmation URL that carries that token, and a confirmation code. When a signed-in user opens that URL and clicks Confirm, NervesHub.Accounts.verify_cli_session_token/2 creates an API token for the user's account and stores it on the login, and the next poll of GET /api/auth/cli_session/<token> returns it to whoever started the login.

The confirmation code is only displayed and is never compared with anything, so it cannot show that the person confirming is the one who started the login. The confirm form carries a CSRF token and the page cannot be framed, so the attacker has to persuade the user to open the link and click the button themselves.

This issue affects nerves_hub: from 2.5.0 before 2.5.3.

Technical POC Analysis

CWE-384 Session Fixation, in the NervesHub CLI login confirmation flow.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical authentication flaw in NervesHub CLI login (nerves_hub_web 2.5.0-2.5.2) allows an unauthenticated attacker to steal a signed-in user's API token via a phishing link and a six-digit code, giving full API access. Since NervesHub manages firmware for connected devices, a compromised token could let attackers push malicious firmware or disrupt fleet operations. Leadership should prioritize patching to 2.5.3 and reinforcing phishing awareness.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche IoT/embedded fleet-management platform in the Elixir/Nerves ecosystem
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

CVE-2026-102489 CRITICAL POC
9.4 Sep 30

Session hijacking in self-hosted Zammad 6.3.0 through 6.5.4 allows remote, unauthenticated attackers to take over a legi

CVE-2017-12965 CRITICAL POC
9.8 Aug 23

Session fixation vulnerability in Apache2Triad 1.5.4 allows remote attackers to hijack web sessions via the PHPSESSID pa

CVE-2025-28242 CRITICAL POC
9.8 Apr 18

Improper session management in the /login_ok.htm endpoint of DAEnetIP4 METO v1.25 allows attackers to execute a session

CVE-2022-40916 CRITICAL POC
9.8 Feb 06

Tiny File Manager v2.4.7 and below is vulnerable to session fixation. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2025-45949 CRITICAL POC
9.8 Apr 28

A critical vulnerability was found in PHPGurukul User Registration & Login and User Management System V3.3 in the /login

CVE-2023-48929 CRITICAL POC
9.8 Dec 08

Franklin Fueling Systems System Sentinel AnyWare (SSA) version 1.6.24.492 is vulnerable to Session Fixation. Rated criti

CVE-2023-41012 CRITICAL POC
9.8 Sep 05

An issue in China Mobile Communications China Mobile Intelligent Home Gateway v.HG6543C4 allows a remote attacker to exe

CVE-2023-31498 CRITICAL POC
9.8 May 11

A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex

CVE-2022-3269 CRITICAL POC
9.8 Sep 23

Session Fixation in GitHub repository ikus060/rdiffweb prior to 2.4.7. Rated critical severity (CVSS 9.8), this vulnerab

CVE-2021-39290 CRITICAL POC
9.8 Aug 23

Certain NetModule devices allow Limited Session Fixation via PHPSESSID. Rated critical severity (CVSS 9.8), this vulnera

CVE-2020-11729 CRITICAL POC
9.8 Apr 15

An issue was discovered in DAViCal Andrew's Web Libraries (AWL) through 0.60. Rated critical severity (CVSS 9.8), this v

CVE-2019-18418 CRITICAL POC
9.8 Oct 24

clonos.php in ClonOS WEB control panel 19.09 allows remote attackers to gain full access via change password requests be

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy