{"id":"CVE-2026-119446","published":"2026-11-10T11:16:40Z","modified":"2026-11-12T20:07:11Z","title":"Session fixation in the CLI login flow allows an unauthenticated attacker to obtain a user's API token","vendor":"nerves-hub","product":"nerves_hub_web","tier":"core","eol":null,"affectedVersions":[{"vendor":"nerves-hub","product":"nerves_hub_web","versions":[">= 2.5.0, < 2.5.3"]},{"vendor":"nerves-hub","product":"nerves_hub_web","versions":[">= 2.5.0, < 2.5.3"]},{"vendor":"nerves-hub","product":"nerves_hub_web","versions":[">= e6bf11a812d7aa8b69d854ba8ef02d65516f5564, < 3131f1701194b581ab4b3e5e9d81194fc9c83508"]}],"solutions":{"items":["Upgrading does not revoke tokens already handed out. A token from a CLI login is an ordinary API token with a note the client chose, so one an attacker obtained looks like any other. After upgrading, users should review their API tokens on the account page and delete any they do not recognise."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Block POST /api/auth/cli_session at the reverse proxy until the upgrade. It is the only entry point that creates a CLI login, so no link can be produced while it is blocked. CLIs can still sign in with an email and password (nh user auth, POST /api/users/auth), or use an API token created on the account page."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-61","name":"An attacker with no account obtains an API token for any NervesHub user they can persuade to open a link and click Confirm. The token acts as that user through the API in every organization they belong to, at their role, until the user deletes it on the account page. Signing out of the web does not revoke it."}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-12T17:48:38.519155Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Deferred","description":{"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.\n\nThe 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.\n\nThis issue affects nerves_hub: from 2.5.0 before 2.5.3.","provenance":"source","from":"NVD"},"summary":{"text":"The NervesHub web component nerves_hub_web, in the CLI login flow, is vulnerable to session fixation: its login sessions can be fixed in advance by an attacker. An unauthenticated attacker can start a CLI login and, if a signed-in user is persuaded to open the confirmation link and click Confirm, obtain an API token for that user's account, since the confirmation code is never checked against the person who started the login and the user must perform the click themselves (no authentication is needed to start the login).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:47:06Z"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"NVD"},"epss":{"score":0.00623,"percentile":0.50784,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Nov 18, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6afc69ad6afed7d92ec6e7f4","created":"2026-11-17"},{"name":"Known_Cve | Nov 17, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6afb1818f367d75558a584e0","created":"2026-11-16"},{"name":"Known_Cve | Nov 16, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af9c64fca9a61b97e66b5ae","created":"2026-11-15"},{"name":"Known_Cve | Nov 15, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af87576edc653ae620f3d8a","created":"2026-11-14"},{"name":"Known_Cve | Nov 14, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6af723ea69848486a62d3d64","created":"2026-11-13"},{"name":"Known_Cve | Nov 13, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6af5d2c4a92649ec66b2da1d","created":"2026-11-12"},{"name":"Known_Cve | Nov 12, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6af4817ce56186812bf7ac16","created":"2026-11-11"},{"name":"Known_Cve | Nov 11, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6af32fd33002628ed4926ba7","created":"2026-11-10"}],"provenance":"machine"},"cwes":[{"id":"CWE-384","name":"Session Fixation"}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-119446.html","tags":["related"]},{"url":"https://github.com/nerves-hub/nerves_hub_web/commit/3131f1701194b581ab4b3e5e9d81194fc9c83508","tags":["patch"]},{"url":"https://github.com/nerves-hub/nerves_hub_web/commit/e6bf11a812d7aa8b69d854ba8ef02d65516f5564","tags":["related"]},{"url":"https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-9vr9-463q-46qp","tags":[]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-119446","tags":["related"]},{"url":"https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-9vr9-463q-46qp","tags":["vendor-advisory","related"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-120874","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120874","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-11-10","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119446","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":18.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":10.16,"detail":"percentile 0.5078"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.58,"detail":"base score 9.4"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}