CVE-2026-119446
Session fixation in the CLI login flow allows an unauthenticated attacker to obtain a user's API token
Check your servers for CVE-2026-119446
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-119446 affects nerves_hub, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- active: a user has to take a deliberate step, such as installing or running something
- Impact on the vulnerable system
- confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality high, integrity high, availability high: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.62%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 12 Nov 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-384 Session Fixation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
nerves_hub_web
package
nerves-hub/nerves-hub |
affected from 2.5.0, before 2.5.3
Other versions: unaffected
|
|
nerves_hub_web
package
nerves_hub |
affected from 2.5.0, before 2.5.3
Other versions: unaffected
|
|
nerves_hub_web
package
nerves-hub/nerves_hub_web |
affected from e6bf11a812d7aa8b69d854ba8ef02d65516f5564, before 3131f1701194b581ab4b3e5e9d81194fc9c83508
Other versions: unaffected
|
Is my server affected?
Find the installed version of nerves_hub and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i nerves_hub
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-119446 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-119446RHEL, Rocky, Alma, Fedora
rpm -q nerves_hub
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-119446Alpine
apk list --installed | grep -i nerves_hubWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-119446
trivy image --scanners vuln IMAGE | grep CVE-2026-119446
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Patches and release notes
- Fix commit 3131f17 in nerves-hub/nerves_hub_web github.com · patch
Exploits and proof of concept
- CLI login links give an API token to whoever sent them github.com · vendor advisory, related, exploit
Other references
- EEF CNA record for CVE-2026-119446 cna.erlef.org · related
- OSV record EEF-CVE-2026-119446 osv.dev · related
- Introducing commit e6bf11a in nerves-hub/nerves_hub_web github.com · related
Source: the record CVE-2026-119446 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse