CVE-2026-119446nerves-hub nerves_hub_web
Session Fixation in CLI Login Flow in NervesHub Web
Critical 9.4 No auth needed
- Priority
- 73
- CVSS 4.0
- 9.4
- EPSS
- —
- Auth required
- No
- Published
- Nov 10, 2026
- Updated
- Nov 12, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-384
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
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/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
What happens
NervesHub Web versions 2.5.0 through 2.5.2 contain a session fixation vulnerability in the CLI login flow that allows an unauthenticated attacker to obtain an API token for another user's account. The attacker initiates a login that generates a confirmation code that is never validated, allowing any authenticated user who opens the link and confirms to generate a token for their own account that will be returned to the attacker.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 2.5.3
Update nerves_hub_web to version 2.5.3 or later to fix the confirmation code validation in the CLI login flow.
Vendor advisory · github.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for nerves_hub_web.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- nerves-hub · nerves_hub_web
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.