Skip to main content

NervesHub EUVDEUVD-2026-120871

| CVE-2026-120730 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-10 EEF
8.6
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register account and create own organization
  2. Delivery
    Craft device API request with victim org_id/product_id/deployment_id
  3. Exploit
    Device accepted onto victim's deployment group or product
  4. Execution
    Connect device reporting matching platform
  5. Impact
    Receive victim organization's firmware via download URL

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires an authenticated NervesHub account holding the manage role (admin for the certificate-authority/JITP dashboard path) in any organization - and any signed-in user can create an organization and automatically becomes its admin, so no pre-existing privilege in the target is needed. No special product configuration is required beyond a running multi-tenant NervesHub instance; the device API create/update, device forms, signing-key and product forms, and JITP settings all cast client-submitted org_id/product_id/deployment_id without checking them against the caller's organization. Limiting factors: the attacker needs a valid account (OPEN_FOR_REGISTRATIONS is off by default, limiting this to people who can obtain an account, but with Google sign-in enabled anyone with a Google account can register regardless); the attacker cannot change or control devices that already belong to the target organization and cannot upload firmware to it. Deployment group IDs are sequential, which aids targeting. There is no configuration workaround - upgrading to 2.5.3 is the only fix.

Impact

This is a genuine authorization-bypass (CWE-639/CWE-915) flaw in NervesHub, not an inflated high-CVSS number. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H) describes a network-reachable, low-complexity attack needing only low privileges, which matches the detailed advisory: any authenticated user who holds the manage role in any organization - and any signed-in user can create an organization and becomes its admin - can write into other organizations via client-supplied org_id, product_id and deployment_id fields. The signals are mutually consistent: the mechanism is fully documented, a step-by-step proof-of-concept is published in the vendor GHSA advisory, a patch exists (2.5.3), and vuln.today assigns a 'this_week' priority. No EPSS score and no CISA KEV entry are present in the input, so there is no evidence of active exploitation or of automated mass exploitation; this is a privilege/tenant-isolation break requiring a valid account, so realistic risk is targeted abuse by someone who can register, rather than opportunistic internet-wide scanning. Net: real priority for multi-tenant NervesHub operators (confidentiality and integrity impact across organizations), tempered by the authentication requirement and the absence of KEV/EPSS exploitation data. PR:L (authenticated) is confirmed by the provided CVSS vector.

Exploit ScenarioDerived

An attacker registers a NervesHub account, creates their own organization (becoming its admin), then issues a device API create/update call supplying a victim organization's sequential deployment_id (or its org_id/product_id). Their device is placed on the victim's deployment group or moved into the victim's product, and on connect it is served the victim organization's firmware with a download URL. A documented proof-of-concept exploit chain is published in the vendor's GHSA advisory; the attack is network-based and low-complexity per the CVSS vector.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

Cross-organization authorization bypass in NervesHub (nerves_hub_web) 1.0.0 through 2.5.2 lets an authenticated user who holds the manage role in their own organization write devices, products and firmware signing keys into a different organization by submitting that organization's org_id, product_id or deployment_id. A device planted on another tenant's deployment group is subsequently served that organization's firmware along with its download URL; a JITP-enabled certificate authority whose product_id points elsewhere provisions every device into the victim's product. Any signed-in user can create an organization and becomes its admin, so no privilege in the target is needed, and deployment group IDs are sequential, which makes targeting easy; the attacker cannot alter or control devices already belonging to the target organization or upload firmware there. Fixed in 2.5.3; the advisory publishes a step-by-step proof-of-concept procedure, and no public working exploit code was identified at time of analysis. Urgency is set to this_week by the prioritisation signals rather than confirmed active exploitation.

RemediationAI

Vendor-released patch: 2.5.3, corresponding to commit c367d7d17d07f843e78a70d15904665616dde964 (https://github.com/nerves-hub/nerves_hub_web/commit/c367d7d17d07f843e78a70d15904665616dde964); upgrade every NervesHub deployment, including the ghcr.io/nerves-hub/nerves-hub image and the otp/nerves_hub package, to 2.5.3 or later. Before upgrading, run the advisory's query joining devices to deployments where g.product_id <> d.product_id to capture the affected rows; the 2.5.3 migration then removes each such device from the foreign deployment group - even if the group's membership is locked - and logs it as 'Removed device ... from deployment group ...'. After upgrading, audit with the advisory's queries for devices whose product belongs to a different organization, signing keys created by users who were never members of the organization, and CA certificates whose JITP product sits in another organization; devices whose organization does not own their product are refused on connect from 2.5.3 onward and must be reassigned to a product of their own organization or deleted. The vendor states there is no configuration workaround: leaving OPEN_FOR_REGISTRATIONS off (the default) only limits the attack to people who can obtain an account, and with Google sign-in enabled anyone with a Google account can register, so upgrading is the only complete fix. Devices moved wholly into another organization and products added to one leave no distinguishing trace, so review organization device and product inventories manually.

Affected VersionsENISA

nerves_hub_web f58d58233dbd355c58d3a140107ece18e8863f14 <c367d7d17d07f843e78a70d15904665616dde964
nerves_hub_web 1.0.0 <2.5.3

Affected Packages

euvd nerves_hub_web fix: 2.5.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NervesHub is an Elixir/Phoenix firmware-update server built on Ecto, with a multi-tenant model in which organizations own products, products own deployment groups and devices, and deployment groups decide which release a connecting device is offered. The flaw is a classic CWE-639 authorization bypass through a user-controlled key, compounded by CWE-915 mass assignment: NervesHub.Devices.Device.changeset/2 casts org_id, product_id, deployment_id and the server-managed update state straight from client parameters, and both the device API create/update actions (lib/nerves_hub_web/controllers/api/device_controller.ex) and the dashboard device forms (settings_tab.ex, devices/new.ex) pass request params to it unchanged. The signing-key and product forms merge the session organization into the submitted params with Enum.into/2, so a submitted org_id overrides the session value, and the JITP changeset in ca_certificate/jitp.ex accepts any product_id without an ownership check; product updates could move a product between organizations until 2.3.0 removed that path. managed_deployments.ex membership_mismatch_reason/3 only compares reported firmware version, platform and architecture - values the device itself supplies - and never checks organization or product, so a device sitting on a foreign deployment group passes the check and receives that tenant's release.

Know when Nerves Hub Web gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 8.6 HIGH
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
vuln.today AI 8.1 HIGH

Network-reachable API, low complexity, and only the manage role in any self-created org give PR:L; cross-org firmware disclosure (C:H) and injection of devices/keys/products (I:H), no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-639 (Authorization Bypass Through User-Controlled Key), enabled by CWE-915 mass assignment; both are listed on the advisory.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity authorization bypass in NervesHub (versions 1.0.0-2.5.2) allows any authenticated user to inject devices, products, and firmware signing keys into other organizations, potentially leading to cross-tenant firmware distribution and supply chain compromise. This flaw affects all NervesHub deployments and enables attackers to plant malicious devices that receive victim firmware, undermining tenant isolation and trust. Leadership should prioritize remediation to prevent unauthorized access to firmware and protect customer environments.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche Elixir/Nerves IoT firmware-management platform, limited enterprise footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy