Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessStart unauthenticated CLI session via POST /api/auth/cli_session
-
DeliveryPhish victim with crafted /auth/cli/<token> link and code
-
ExploitVictim signed-in opens link, clicks Confirm login
-
ExecutionPoll GET /api/auth/cli_session/<token> returns user API token
-
ImpactAct 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
More in Session Fixation
View allSession hijacking in self-hosted Zammad 6.3.0 through 6.5.4 allows remote, unauthenticated attackers to take over a legi
Session fixation vulnerability in Apache2Triad 1.5.4 allows remote attackers to hijack web sessions via the PHPSESSID pa
Improper session management in the /login_ok.htm endpoint of DAEnetIP4 METO v1.25 allows attackers to execute a session
Tiny File Manager v2.4.7 and below is vulnerable to session fixation. Rated critical severity (CVSS 9.8), this vulnerabi
A critical vulnerability was found in PHPGurukul User Registration & Login and User Management System V3.3 in the /login
Franklin Fueling Systems System Sentinel AnyWare (SSA) version 1.6.24.492 is vulnerable to Session Fixation. Rated criti
An issue in China Mobile Communications China Mobile Intelligent Home Gateway v.HG6543C4 allows a remote attacker to exe
A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex
Session Fixation in GitHub repository ikus060/rdiffweb prior to 2.4.7. Rated critical severity (CVSS 9.8), this vulnerab
Certain NetModule devices allow Limited Session Fixation via PHPSESSID. Rated critical severity (CVSS 9.8), this vulnera
An issue was discovered in DAViCal Andrew's Web Libraries (AWL) through 0.60. Rated critical severity (CVSS 9.8), this v
clonos.php in ClonOS WEB control panel 19.09 allows remote attackers to gain full access via change password requests be
EUVD-2026-120874
NVD
CVE.org
EPSS
GitHub
Exploit-DB