Nerves-hub vulnerabilities

Other · sources: CVE.org/NVD · refreshes every minute

Period
Updating…

In the last 30 days, 7 Nerves-hub vulnerabilities were published: 1 critical, 0 actively exploited. Most common weakness: CWE-384.

7vulnerabilities in 30 days
1critical
0exploited
Nov 17last published
CVSS score: 9.4 Severity: Critical Identifier: CVE-2026-119446 Session fixation in the CLI login flow allows an unauthenticated attacker to obtain a user's API token Package: nerves hub web fixed in 3131f1701194b581ab4b3e5e9d81194fc9c83508 (+1 branch) Published Published

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.

Exploitation
No known exploitation
EPSS
0.69% chance of exploitation in the next 30 days, higher than 48.4% of CVEs
CVSS
9.4 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
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
Versions
e6bf11a812d7aa8b69d854ba8ef02d65516f5564 → <3131f1701194b581ab4b3e5e9d81194fc9c83508 · fixed in 3131f1701194b581ab4b3e5e9d81194fc9c83508 (and 1 older branch)
Weakness
CWE-384
Sources
CVE.org · NVD · EPSS
Dates
published Nov 10, 2026 · first seen here 4 h ago
CVSS score: 8.6 Severity: High Identifier: CVE-2026-120730 Mass assignment of organization, product and deployment group IDs allows users to write into other organizations and receive their firmware Package: nerves hub web fixed in c367d7d17d07f843e78a70d15904665616dde964 (+1 branch) Published Published

Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in the device API, device forms, signing key and product forms and JITP settings in nerves-hub nerves_hub_web allows an authenticated user who manages devices in any organization to write into other organizations via submitted org_id, product_id and deployment_id fields. The device API create and update actions and the dashboard device forms pass the request parameters to NervesHub.Devices.Device.changeset/2, which casts the organization, product, deployment group and update state as given. The signing key and product forms merge the session's organization into the submitted parameters so that a submitted org_id wins, and the JITP changeset accepts any product_id. Each request requires the manage role only in the user's own organization, and any account can create one.

A device placed on another organization's deployment group, or moved into its product, is sent that organization's firmware with a download URL. The user cannot change or control devices that already belong to the other organization, and cannot upload firmware to it.

This issue affects nerves_hub: from 1.0.0 before 2.5.3.

Exploitation
No known exploitation
EPSS
0.50% chance of exploitation in the next 30 days, higher than 36.0% of CVEs
CVSS
8.6 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/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
Versions
f58d58233dbd355c58d3a140107ece18e8863f14 → <c367d7d17d07f843e78a70d15904665616dde964 · fixed in c367d7d17d07f843e78a70d15904665616dde964 (and 1 older branch)
Weakness
CWE-639, CWE-915
Sources
CVE.org · NVD · EPSS
Dates
published Nov 10, 2026 · first seen here 4 h ago
CVSS score: 8.2 Severity: High Identifier: CVE-2026-125275 A device certificate whose CA isn't registered can keep a TLS handshake running forever Package: nerves hub web fixed in 064e78cc189dd9b87748746f44179632a52ddf58 (+1 branch) Published Published

Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in device certificate verification in nerves-hub nerves_hub_web allows an unauthenticated remote attacker to cause a denial of service via a TLS client certificate whose CA is not registered. When a client certificate chains to a root in the device endpoint's trust store but no CA in the chain is registered in NervesHub, NervesHub.SSL.decide/2 refuses it with the reason :unknown_ca. Erlang/OTP ssl reads that reason as a missing trust anchor, looks for an alternative root, finds the same root and validates again without end. The handshake process queries the database on each pass and keeps running after the client disconnects, until the node restarts.

The device endpoint trusts the public roots from CAStore unless DEVICE_SSL_CACERTFILE is set, so a client certificate from a public CA whose chain allows client authentication is sufficient. A chain that ends at a root outside the trust store is refused once.

This issue affects nerves_hub: from 1.0.0 before 2.5.4.

Exploitation
No known exploitation
EPSS
0.52% chance of exploitation in the next 30 days, higher than 37.7% of CVEs
CVSS
8.2 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/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
Versions
a49fb8875f3aab40062881028ef4e406d985aaa9 → <064e78cc189dd9b87748746f44179632a52ddf58 · fixed in 064e78cc189dd9b87748746f44179632a52ddf58 (and 1 older branch)
Weakness
CWE-835
Sources
CVE.org · NVD · EPSS
Dates
published Nov 17, 2026 · first seen here 4 h ago
CVSS score: 7.4 Severity: High Identifier: CVE-2026-120999 Improper authentication lets Google sign-in and confirmation links sign users in to accounts registered with their email address by someone else Package: nerves hub web fixed in 54dbf93c3bd323df08223a853c9afcf0b4dbf8e4 (+1 branch) Published Published

Improper Authentication vulnerability in Google sign-in and email confirmation in nerves-hub nerves_hub_web allows an attacker who registers another person's email address to share that person's account once they sign in. NervesHub.Accounts.update_or_create_user_from_ueberauth/1 signs a Google user in to any account carrying the same email that is not yet linked to a Google account, links it and marks the email confirmed, without the account's owner ever having proved they own the address. NervesHubWeb.SessionController.confirm/2 likewise signs in whoever follows a confirmation link. An attacker registers the address from the sign-up form, changes their own account's email to it, or registers it as an organization admin from an invite link, and keeps the password; when the address's owner signs in with Google or follows the confirmation link, they land in that account.

The Google path also creates accounts with registrations closed and never checks Google's email_verified claim, and the API's password sign-in in NervesHubWeb.API.UserController issues tokens to accounts whose email was never confirmed. The attacker gains only what the victim is granted afterwards, and nothing on accounts whose owners never use either path.

This issue affects nerves_hub: from 2.3.0 before 2.5.3.

Exploitation
No known exploitation
EPSS
0.31% chance of exploitation in the next 30 days, higher than 15.8% of CVEs
CVSS
7.4 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/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
Versions
74982672ab914bd6f37c3bc0e24a06e3474fa030 → <54dbf93c3bd323df08223a853c9afcf0b4dbf8e4 · fixed in 54dbf93c3bd323df08223a853c9afcf0b4dbf8e4 (and 1 older branch)
Weakness
CWE-287, CWE-345
Sources
CVE.org · NVD · EPSS
Dates
published Nov 10, 2026 · first seen here 4 h ago
CVSS score: 7.1 Severity: High Identifier: CVE-2026-120295 Incorrect authorization in the devices page bulk move allows view-role members to move devices into another organization and receive its firmware Package: nerves hub web fixed in * (+1 branch) Published Published

Incorrect Authorization vulnerability in the devices page bulk move in nerves-hub nerves_hub_web allows an authenticated user with the manage role in one organization and only the view role in another to move devices into the second organization's product via the "Move device(s) to product" action. The target-product event in NervesHubWeb.Live.Devices.Index looks the product up with NervesHub.Products.get_by_id/2, which checks that the user is a member of the product's organization at any role, and move-devices-product then changes each selected device's organization and product. The device API's move requires manage in the target organization, and an earlier fix added the check on the organization the devices leave but not on the one they enter.

A moved device keeps its key and certificate, joins the target organization's matching deployment groups, and is sent their firmware with a download URL, which the view role cannot otherwise obtain. The user cannot change or control devices that already belong to the other organization.

This issue affects nerves_hub: from 1.0.0 before 2.5.3.

Exploitation
No known exploitation
EPSS
0.33% chance of exploitation in the next 30 days, higher than 18.0% of CVEs
CVSS
7.1 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/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
Versions
79743ef08f7f801617b653fd09f37c01ed9b4be0 → <1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa; adaeefdb7a835525482588f43332ef988cc448c7 → <* · fixed in * (and 1 older branch)
Weakness
CWE-863
Sources
CVE.org · NVD · EPSS
Dates
published Nov 10, 2026 · first seen here 4 h ago
CVSS score: 5.3 Severity: Medium Identifier: CVE-2026-120286 Missing authorization in device and deployment group page events allows view-role members to change devices and deployment groups Package: nerves hub web fixed in 34ea112472a460319c1e1dec8ad0ffc37df05ffe (+1 branch) Published Published

Missing Authorization vulnerability in the device and deployment group pages in nerves-hub nerves_hub_web allows an authenticated organization member with the view role to change devices and deployment groups via LiveView events reserved for the manage role. The event handlers that add and delete device certificates, add and remove tags, overwrite or clear a device's manual location, remove a device from its deployment group, move matched devices into a deployment group or remove unmatched ones, import devices from a CSV, and start, retry or delete firmware delta builds carry out the change without calling authorized!/2, and the pages render the controls to every member.

A view member can add a certificate that lets whoever holds its key connect as the device, delete a certificate so the device can no longer authenticate with it, and change which deployment group, and so which firmware release, a device receives. Everything stays within the organizations the member belongs to.

This issue affects nerves_hub: from 1.0.0 before 2.5.3.

Exploitation
No known exploitation
EPSS
0.29% chance of exploitation in the next 30 days, higher than 14.4% of CVEs
CVSS
5.3 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:L/SA:N/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
Versions
7b511764a468bb2c1f33945874faa86af2255c0c → <34ea112472a460319c1e1dec8ad0ffc37df05ffe · fixed in 34ea112472a460319c1e1dec8ad0ffc37df05ffe (and 1 older branch)
Weakness
CWE-862
Sources
CVE.org · NVD · EPSS
Dates
published Nov 10, 2026 · first seen here 4 h ago
CVSS score: 2.3 Severity: Low Identifier: CVE-2026-120997 Improper session invalidation keeps removed or demoted members' open pages and device consoles working at their old role Package: nerves hub web fixed in a96497ddd4d24ab1847f7685e255bf96fd87b85b (+1 branch) Published Published

Improper Session Invalidation vulnerability in the dashboard pages, device console and local shell channels in nerves-hub nerves_hub_web allows an organization member who is removed or given a lower role to keep acting at their old role through anything they had open at the time. The dashboard reads the member's role once when a page mounts, in the assign_org_to_scope hook of NervesHubWeb.Auth, and the console, local shell and device event stream channels check membership once at join. Removing a member or changing their role tells none of them, so open pages keep carrying out actions and open consoles keep running commands on the device until the page reloads or the socket disconnects.

The dashboard also opens consoles over NervesHubWeb.UserSocket with a token that holds only the user's id, is accepted for 24 hours, and is not revoked by signing out, which disconnects only the session's LiveViews. Whoever holds a token taken from a page can open consoles as that user, within the user's current membership, until it expires.

This issue affects nerves_hub: from 1.0.0 before 2.5.3.

Exploitation
No known exploitation
EPSS
0.47% chance of exploitation in the next 30 days, higher than 32.4% of CVEs
CVSS
2.3 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:L/SA:N/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
Versions
b5d2438677f79d10e91aeef20a7b5cd8cca0d63c → <a96497ddd4d24ab1847f7685e255bf96fd87b85b · fixed in a96497ddd4d24ab1847f7685e255bf96fd87b85b (and 1 older branch)
Weakness
CWE-1464, CWE-1465
Sources
CVE.org · NVD · EPSS
Dates
published Nov 10, 2026 · first seen here 4 h ago