Skip to content
Threat Feed
high advisory

NervesHub: Session fixation in CLI login flow (CVE-2026-119446)

NervesHub nerves_hub_web versions 2.5.0 to 2.5.2 contain a session fixation vulnerability in the CLI login flow, allowing unauthenticated attackers to hijack API tokens if a signed-in user is coerced into confirming a crafted login request.

CVE search metadata

CVE search record: CVE-2026-119446. KEV: no. Product: nerves_hub_web (2.5.0-2.5.2). Brief: NervesHub: Session fixation in CLI login flow (CVE-2026-119446). Brief link: https://feed.craftedsignal.io/briefs/2026-11-cve-2026-119446/

Triage facts

Revision 1
Applicability
nerves_hub_web (2.5.0-2.5.2)
Evidence
Unknown
Severity
High
Action
Elevated
Sources
4 public sources
Freshness
Revision 1Nov 10, 13:46 UTC
Vulnerabilities
1 CVE
Source quality
B2Likely

CVE-2026-119446 is a session fixation vulnerability in the nerves_hub_web CLI login flow. An unauthenticated attacker can initiate a session request via an API endpoint, generating a polling token and a confirmation URL. If a legitimate, authenticated user is tricked into navigating to this URL and confirming the request, the application generates and associates an API token with the victim's account, which the attacker subsequently retrieves by polling the session endpoint. The vulnerability stems from a lack of validation between the initiator of the login request and the user confirming the session.

Attack Chain

  1. Attacker sends a POST request to /api/auth/cli_session to initiate a CLI login.
  2. The application returns a polling token, a confirmation URL, and a confirmation code to the attacker.
  3. Attacker uses social engineering to trick a signed-in user into visiting the confirmation URL.
  4. The victim visits the URL and clicks "Confirm" in the web interface.
  5. The application (via NervesHub.Accounts.verify_cli_session_token/2) creates an API token for the victim's account.
  6. The application stores this token on the session state.
  7. Attacker polls GET /api/auth/cli_session/<token> to retrieve the victim's API token.

Recommendation

  • Upgrade NervesHub nerves_hub_web to version 2.5.3 or later immediately to patch CVE-2026-119446.
  • Implement monitoring for abnormal API access patterns originating from CLI session endpoints.

Immediate actions

Upgrade NervesHub nerves_hub_web to 2.5.3 or later

IT Operations 48h

Threat Hunt

Identify high-frequency calls to /api/auth/cli_session followed by successful API token generation

T1550.001 medium medium confidence hunt now

Data: Web server access logs

Mitigations

Upgrade to version 2.5.3

immediate IT Operations

CVE-2026-119446