Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister account and create own organization
-
DeliveryCraft device API request with victim org_id/product_id/deployment_id
-
ExploitDevice accepted onto victim's deployment group or product
-
ExecutionConnect device reporting matching platform
-
ImpactReceive 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Nerves Hub Web
View allNervesHub CLI login (nerves_hub_web 2.5.0 through 2.5.2) hands an API token to whichever party started the login, so an
Unauthenticated denial of service in NervesHub's device TLS endpoint: a client certificate that chains to a root the end
NervesHub 2.3.0 through 2.5.2 will sign a person in to an account that someone else created with their email address, so
Incorrect authorization in NervesHub (nerves_hub_web) 1.0.0 through 2.5.2 lets an authenticated user who holds the 'mana
Authenticated members of a NervesHub organization who hold only the low-privileged 'view' role can still change devices
Removed or demoted members of a NervesHub organization keep acting at their previous role through dashboard pages, devic
EUVD-2026-120871
NVD
CVE.org
EPSS
GitHub
Exploit-DB