Session fixation in NervesHub CLI login exposes user API tokens
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-384.
Summary
NervesHub nerves_hub_web from 2.5.0 before 2.5.3 has a session fixation flaw (CWE-384) in its CLI login flow. The confirmation code is displayed but never checked, so nothing ties the confirming user to the login that started it. An unauthenticated remote attacker who starts a CLI login and gets a signed-in user to open the link and click Confirm can obtain an API token for that user's account.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nerves-hub | nerves_hub_web | 2.5.0 to before 2.5.3 | 2.5.3 | Patch available | CNA |
| nerves-hub | nerves_hub_web | 2.5.0 to before 2.5.3 | 2.5.3 | Patch available | CNA |
- nerves_hub_web Vendornerves-hub Affected 2.5.0 to before 2.5.3 Fixed in 2.5.3 Patch available CNA
- nerves_hub_web Vendornerves-hub Affected 2.5.0 to before 2.5.3 Fixed in 2.5.3 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* | — | — | nerves-hub |
- cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* Versions — — ·nerves-hub
Remediation
Update nerves_hub_web to version 2.5.3, which fixes this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA nerves_hub_web (nerves-hub) Fixed in 2.5.3
- Fix · CNA nerves_hub_web (nerves-hub) Fixed in 2.5.3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
nerves-hub nerves_hub_web 2.5.3
6 records Highest priority Priority HIGH 3 HIGH, 3 MEDIUM
Other records, highest priority first
- TI-2026-87601 Mass assignment in NervesHub lets users write into other organizationsPriority HIGH 72
- TI-2026-87603 Improper authentication in NervesHub Web exposes accounts via emailPriority HIGH 68
- TI-2026-87600 Incorrect authorization in NervesHub Web lets view users move devicesPriority MEDIUM 64
Timeline
- 2026-11-10 Threatist record created from CVE-2026-119446
- 2026-11-12 CISA SSVC decision points changed
References
More nerves-hub vulnerabilities
- TI-2026-87601 Mass assignment in NervesHub lets users write into other organizations CVSS 4.0HIGH 8.6
- TI-2026-87603 Improper authentication in NervesHub Web exposes accounts via email CVSS 4.0HIGH 7.4
- TI-2026-87600 Incorrect authorization in NervesHub Web lets view users move devices CVSS 4.0HIGH 7.1
- TI-2026-87599 Missing authorization in nerves_hub_web lets viewers change devices CVSS 4.0MEDIUM 5.3
- TI-2025-39548 NervesHub has Insufficient Token Entropy that Allows Authentication Bypass via Brute Force CVSS 4.0CRITICAL 9.5
- TI-2026-87602 Removed or demoted nerves_hub_web members keep their old role CVSS 4.0LOW 2.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences