{"api_version":"1","generated_at":"2026-11-10T12:12:12+00:00","cve":"CVE-2026-120730","urls":{"html":"https://cve.report/CVE-2026-120730","api":"https://cve.report/api/cve/CVE-2026-120730.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-120730","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-120730"},"summary":{"title":"Mass assignment of organization, product and deployment group IDs allows users to write into other organizations and receive their firmware","description":"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.\n\nA 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.\n\nThis issue affects nerves_hub: from 1.0.0 before 2.5.3.","state":"PUBLISHED","assigner":"EEF","published_at":"2026-11-10 11:16:42","updated_at":"2026-11-10 11:16:42"},"problem_types":["CWE-639","CWE-915","CWE-639 CWE-639 Authorization Bypass Through User-Controlled Key","CWE-915 CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes"],"metrics":[{"version":"4.0","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","score":"8.6","severity":"HIGH","vector":"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","data":{"version":"4.0","vectorString":"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","baseScore":8.6,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"8.6","severity":"HIGH","vector":"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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.6,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/nerves-hub/nerves_hub_web/commit/f58d58233dbd355c58d3a140107ece18e8863f14","name":"https://github.com/nerves-hub/nerves_hub_web/commit/f58d58233dbd355c58d3a140107ece18e8863f14","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/nerves-hub/nerves_hub_web/commit/c367d7d17d07f843e78a70d15904665616dde964","name":"https://github.com/nerves-hub/nerves_hub_web/commit/c367d7d17d07f843e78a70d15904665616dde964","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-rpp7-x9hm-jrmr","name":"https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-rpp7-x9hm-jrmr","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cna.erlef.org/cves/CVE-2026-120730.html","name":"https://cna.erlef.org/cves/CVE-2026-120730.html","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-120730","name":"https://osv.dev/vulnerability/EEF-CVE-2026-120730","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120730","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120730","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"nerves-hub","product":"nerves_hub_web","version":"affected 1.0.0 2.5.3 other","platforms":[]},{"source":"CNA","vendor":"nerves-hub","product":"nerves_hub_web","version":"affected 1.0.0 2.5.3 semver","platforms":[]},{"source":"CNA","vendor":"nerves-hub","product":"nerves_hub_web","version":"affected f58d58233dbd355c58d3a140107ece18e8863f14 c367d7d17d07f843e78a70d15904665616dde964 git","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"The fixed release's migration takes every device off a deployment group that belongs to a different product and logs each one. Upgrading undoes nothing else done this way. After upgrading, check the database for devices whose organization does not own their product, for signing keys in org_keys whose created_by_id has never been a member of the key's organization, and for certificate authorities whose JITP product belongs to another organization, and remove what you do not recognize. A device moved wholly into another organization, and a product added to one, leave nothing that sets them apart, so review your organization's devices and products as well.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Josh Kalderimis","lang":"en"},{"source":"CNA","value":"Josh Kalderimis","lang":"en"},{"source":"CNA","value":"Josh Kalderimis","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://ghcr.io","cpes":["cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.NervesHubWeb.API.DeviceController'","'Elixir.NervesHub.Devices.Device'","'Elixir.NervesHubWeb.Components.DevicePage.SettingsTab'","'Elixir.NervesHubWeb.Live.Devices.New'","'Elixir.NervesHubWeb.Live.Org.SigningKeys'","'Elixir.NervesHubWeb.Live.Products.New'","'Elixir.NervesHub.Devices.CACertificate.JITP'","'Elixir.NervesHub.ManagedDeployments'"],"packageName":"nerves-hub/nerves-hub","packageURL":"pkg:oci/nerves-hub?repository_url=ghcr.io%2Fnerves-hub","product":"nerves_hub_web","programFiles":["lib/nerves_hub_web/controllers/api/device_controller.ex","lib/nerves_hub/devices/device.ex","lib/nerves_hub_web/components/device_page/settings_tab.ex","lib/nerves_hub_web/live/devices/new.ex","lib/nerves_hub_web/live/org/signing_keys.ex","lib/nerves_hub_web/live/products/new.ex","lib/nerves_hub/devices/ca_certificate/jitp.ex","lib/nerves_hub/managed_deployments.ex"],"programRoutines":[{"name":"'Elixir.NervesHubWeb.API.DeviceController':create/2"},{"name":"'Elixir.NervesHubWeb.API.DeviceController':update/2"},{"name":"'Elixir.NervesHub.Devices.Device':changeset/2"},{"name":"'Elixir.NervesHubWeb.Components.DevicePage.SettingsTab':hooked_event/3"},{"name":"'Elixir.NervesHubWeb.Live.Devices.New':handle_event/3"},{"name":"'Elixir.NervesHubWeb.Live.Org.SigningKeys':handle_event/3"},{"name":"'Elixir.NervesHubWeb.Live.Products.New':handle_event/3"},{"name":"'Elixir.NervesHub.Devices.CACertificate.JITP':changeset/2"}],"vendor":"nerves-hub","versions":[{"lessThan":"2.5.3","status":"affected","version":"1.0.0","versionType":"other"}]},{"cpes":["cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.NervesHubWeb.API.DeviceController'","'Elixir.NervesHub.Devices.Device'","'Elixir.NervesHubWeb.Components.DevicePage.SettingsTab'","'Elixir.NervesHubWeb.Live.Devices.New'","'Elixir.NervesHubWeb.Live.Org.SigningKeys'","'Elixir.NervesHubWeb.Live.Products.New'","'Elixir.NervesHub.Devices.CACertificate.JITP'","'Elixir.NervesHub.ManagedDeployments'"],"packageName":"nerves_hub","packageURL":"pkg:otp/nerves_hub?repository_url=https:%2F%2Fgithub.com%2Fnerves-hub%2Fnerves_hub_web&vcs_url=git%20https:%2F%2Fgithub.com%2Fnerves-hub%2Fnerves_hub_web.git","product":"nerves_hub_web","programFiles":["lib/nerves_hub_web/controllers/api/device_controller.ex","lib/nerves_hub/devices/device.ex","lib/nerves_hub_web/components/device_page/settings_tab.ex","lib/nerves_hub_web/live/devices/new.ex","lib/nerves_hub_web/live/org/signing_keys.ex","lib/nerves_hub_web/live/products/new.ex","lib/nerves_hub/devices/ca_certificate/jitp.ex","lib/nerves_hub/managed_deployments.ex"],"programRoutines":[{"name":"'Elixir.NervesHubWeb.API.DeviceController':create/2"},{"name":"'Elixir.NervesHubWeb.API.DeviceController':update/2"},{"name":"'Elixir.NervesHub.Devices.Device':changeset/2"},{"name":"'Elixir.NervesHubWeb.Components.DevicePage.SettingsTab':hooked_event/3"},{"name":"'Elixir.NervesHubWeb.Live.Devices.New':handle_event/3"},{"name":"'Elixir.NervesHubWeb.Live.Org.SigningKeys':handle_event/3"},{"name":"'Elixir.NervesHubWeb.Live.Products.New':handle_event/3"},{"name":"'Elixir.NervesHub.Devices.CACertificate.JITP':changeset/2"}],"repo":"https://github.com/nerves-hub/nerves_hub_web","vendor":"nerves-hub","versions":[{"lessThan":"2.5.3","status":"affected","version":"1.0.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.NervesHubWeb.API.DeviceController'","'Elixir.NervesHub.Devices.Device'","'Elixir.NervesHubWeb.Components.DevicePage.SettingsTab'","'Elixir.NervesHubWeb.Live.Devices.New'","'Elixir.NervesHubWeb.Live.Org.SigningKeys'","'Elixir.NervesHubWeb.Live.Products.New'","'Elixir.NervesHub.Devices.CACertificate.JITP'","'Elixir.NervesHub.ManagedDeployments'"],"packageName":"nerves-hub/nerves_hub_web","packageURL":"pkg:github/nerves-hub/nerves_hub_web","product":"nerves_hub_web","programFiles":["lib/nerves_hub_web/controllers/api/device_controller.ex","lib/nerves_hub/devices/device.ex","lib/nerves_hub_web/components/device_page/settings_tab.ex","lib/nerves_hub_web/live/devices/new.ex","lib/nerves_hub_web/live/org/signing_keys.ex","lib/nerves_hub_web/live/products/new.ex","lib/nerves_hub/devices/ca_certificate/jitp.ex","lib/nerves_hub/managed_deployments.ex"],"programRoutines":[{"name":"'Elixir.NervesHubWeb.API.DeviceController':create/2"},{"name":"'Elixir.NervesHubWeb.API.DeviceController':update/2"},{"name":"'Elixir.NervesHub.Devices.Device':changeset/2"},{"name":"'Elixir.NervesHubWeb.Components.DevicePage.SettingsTab':hooked_event/3"},{"name":"'Elixir.NervesHubWeb.Live.Devices.New':handle_event/3"},{"name":"'Elixir.NervesHubWeb.Live.Org.SigningKeys':handle_event/3"},{"name":"'Elixir.NervesHubWeb.Live.Products.New':handle_event/3"},{"name":"'Elixir.NervesHub.Devices.CACertificate.JITP':changeset/2"}],"repo":"https://github.com/nerves-hub/nerves_hub_web","vendor":"nerves-hub","versions":[{"lessThan":"c367d7d17d07f843e78a70d15904665616dde964","status":"affected","version":"f58d58233dbd355c58d3a140107ece18e8863f14","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:*","versionEndExcluding":"2.5.3","versionStartIncluding":"1.0.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Josh Kalderimis"},{"lang":"en","type":"reporter","value":"Josh Kalderimis"},{"lang":"en","type":"remediation developer","value":"Josh Kalderimis"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"dateAssigned":"2026-11-09T22:45:21.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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 <code>org_id</code>, <code>product_id</code> and <code>deployment_id</code> fields. The device API create and update actions and the dashboard device forms pass the request parameters to <code>NervesHub.Devices.Device.changeset/2</code>, 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 <code>org_id</code> wins, and the JITP changeset accepts any <code>product_id</code>. Each request requires the <code>manage</code> role only in the user's own organization, and any account can create one.</p>\n<p>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.</p>\n<p>This issue affects nerves_hub: from 1.0.0 before 2.5.3.</p>"},{"base64":false,"type":"text/markdown","value":"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.\n\nA 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.\n\nThis issue affects nerves_hub: from 1.0.0 before 2.5.3."}],"value":"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.\n\nA 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.\n\nThis issue affects nerves_hub: from 1.0.0 before 2.5.3."}],"impacts":[{"capecId":"CAPEC-77","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Any user who manages devices in an organization of their own can attach their device to another organization's deployment group and receive its firmware, move devices into that organization's product, add firmware signing keys and products to it, and have a certificate authority provision devices into its product. Devices that already belong to the other organization are not controlled, and no firmware can be uploaded to it.</p>"},{"base64":false,"type":"text/markdown","value":"Any user who manages devices in an organization of their own can attach their device to another organization's deployment group and receive its firmware, move devices into that organization's product, add firmware signing keys and products to it, and have a certificate authority provision devices into its product. Devices that already belong to the other organization are not controlled, and no firmware can be uploaded to it."}],"value":"Any user who manages devices in an organization of their own can attach their device to another organization's deployment group and receive its firmware, move devices into that organization's product, add firmware signing keys and products to it, and have a certificate authority provision devices into its product. Devices that already belong to the other organization are not controlled, and no firmware can be uploaded to it."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.6,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","description":"CWE-639 Authorization Bypass Through User-Controlled Key","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-915","description":"CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-10T10:43:47.924Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"Users can receive another organization’s firmware and add devices, signing keys and products to it","tags":["vendor-advisory","related"],"url":"https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-rpp7-x9hm-jrmr"},{"name":"EEF CNA record for CVE-2026-120730","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-120730.html"},{"name":"OSV record EEF-CVE-2026-120730","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-120730"},{"name":"Introducing commit f58d582 in nerves-hub/nerves_hub_web","tags":["related"],"url":"https://github.com/nerves-hub/nerves_hub_web/commit/f58d58233dbd355c58d3a140107ece18e8863f14"},{"name":"Fix commit c367d7d in nerves-hub/nerves_hub_web","tags":["patch"],"url":"https://github.com/nerves-hub/nerves_hub_web/commit/c367d7d17d07f843e78a70d15904665616dde964"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The fixed release's migration takes every device off a deployment group that belongs to a different product and logs each one. Upgrading undoes nothing else done this way. After upgrading, check the database for devices whose organization does not own their product, for signing keys in <code>org_keys</code> whose <code>created_by_id</code> has never been a member of the key's organization, and for certificate authorities whose JITP product belongs to another organization, and remove what you do not recognize. A device moved wholly into another organization, and a product added to one, leave nothing that sets them apart, so review your organization's devices and products as well.</p>"},{"base64":false,"type":"text/markdown","value":"The fixed release's migration takes every device off a deployment group that belongs to a different product and logs each one. Upgrading undoes nothing else done this way. After upgrading, check the database for devices whose organization does not own their product, for signing keys in `org_keys` whose `created_by_id` has never been a member of the key's organization, and for certificate authorities whose JITP product belongs to another organization, and remove what you do not recognize. A device moved wholly into another organization, and a product added to one, leave nothing that sets them apart, so review your organization's devices and products as well."}],"value":"The fixed release's migration takes every device off a deployment group that belongs to a different product and logs each one. Upgrading undoes nothing else done this way. After upgrading, check the database for devices whose organization does not own their product, for signing keys in org_keys whose created_by_id has never been a member of the key's organization, and for certificate authorities whose JITP product belongs to another organization, and remove what you do not recognize. A device moved wholly into another organization, and a product added to one, leave nothing that sets them apart, so review your organization's devices and products as well."}],"source":{"discovery":"UNKNOWN"},"title":"Mass assignment of organization, product and deployment group IDs allows users to write into other organizations and receive their firmware","x_proofOfConcept":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>As an admin of organization A, with organization B having an active deployment group whose current release is firmware B:</p>\n<ol>\n<li><code>POST /api/orgs/&lt;A&gt;/products/&lt;A's product&gt;/devices</code> with <code>{\"identifier\": \"planted\", \"deployment_id\": &lt;B's deployment group ID&gt;}</code>. The device is created in A, on B's deployment group.</li>\n<li>Create a device key for it, then connect it, reporting the platform and architecture of firmware B. When the deployment runs, the device is sent an update for firmware B with its download URL.</li>\n<li>To move a device instead, <code>PUT /api/orgs/&lt;A&gt;/products/&lt;A's product&gt;/devices/&lt;identifier&gt;</code> with <code>{\"org_id\": &lt;B's ID&gt;, \"product_id\": &lt;B's product ID&gt;}</code>. The response is <code>201</code>, and the device is now in B's product.</li>\n</ol>"},{"base64":false,"type":"text/markdown","value":"As an admin of organization A, with organization B having an active deployment group whose current release is firmware B:\n\n1. `POST /api/orgs/<A>/products/<A's product>/devices` with `{\"identifier\": \"planted\", \"deployment_id\": <B's deployment group ID>}`. The device is created in A, on B's deployment group.\n2. Create a device key for it, then connect it, reporting the platform and architecture of firmware B. When the deployment runs, the device is sent an update for firmware B with its download URL.\n3. To move a device instead, `PUT /api/orgs/<A>/products/<A's product>/devices/<identifier>` with `{\"org_id\": <B's ID>, \"product_id\": <B's product ID>}`. The response is `201`, and the device is now in B's product."}],"value":"As an admin of organization A, with organization B having an active deployment group whose current release is firmware B:\n\n* POST /api/orgs/<A>/products/<A's product>/devices with {\"identifier\": \"planted\", \"deployment_id\": <B's deployment group ID>}. The device is created in A, on B's deployment group.\n* Create a device key for it, then connect it, reporting the platform and architecture of firmware B. When the deployment runs, the device is sent an update for firmware B with its download URL.\n* To move a device instead, PUT /api/orgs/<A>/products/<A's product>/devices/<identifier> with {\"org_id\": <B's ID>, \"product_id\": <B's product ID>}. The response is 201, and the device is now in B's product."}],"x_technicalAnalysis":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><strong>1. Device API and device forms.</strong> <code>NervesHubWeb.API.DeviceController.create/2</code> sets <code>org_id</code> and <code>product_id</code> from the route, then hands the rest of the request to <code>Device.changeset/2</code>; <code>update/2</code> hands the whole request over. The changeset casts <code>org_id</code>, <code>product_id</code>, <code>deployment_id</code>, <code>deleted_at</code> and the server-managed update state, so an update can move the device into another organization's product and either request can place it on another organization's deployment group. The device settings form in <code>NervesHubWeb.Components.DevicePage.SettingsTab</code> and the new device form in <code>NervesHubWeb.Live.Devices.New</code> reach the same changeset with the same effect.</p>\n<p><strong>2. Signing key and product forms.</strong> <code>NervesHubWeb.Live.Org.SigningKeys</code> and <code>NervesHubWeb.Live.Products.New</code> build their parameters with <code>Enum.into(submitted, %{\"org_id\" =&gt; session_org_id})</code>, so a submitted <code>org_id</code> overrides the session's, and the key or product is created in the organization named by the client.</p>\n<p><strong>3. JITP settings.</strong> <code>NervesHub.Devices.CACertificate.JITP.changeset/2</code> casts any <code>product_id</code>, through the API and the dashboard, so devices the certificate authority provisions are created in another organization's product.</p>\n<p><strong>4. Firmware delivery.</strong> When a planted device connects, <code>NervesHub.ManagedDeployments</code> checks its deployment group membership by firmware version, platform and architecture only, all reported by the device, so it stays on the foreign group and is sent that group's current release with a download URL.</p>"},{"base64":false,"type":"text/markdown","value":"**1. Device API and device forms.** `NervesHubWeb.API.DeviceController.create/2` sets `org_id` and `product_id` from the route, then hands the rest of the request to `Device.changeset/2`; `update/2` hands the whole request over. The changeset casts `org_id`, `product_id`, `deployment_id`, `deleted_at` and the server-managed update state, so an update can move the device into another organization's product and either request can place it on another organization's deployment group. The device settings form in `NervesHubWeb.Components.DevicePage.SettingsTab` and the new device form in `NervesHubWeb.Live.Devices.New` reach the same changeset with the same effect.\n\n**2. Signing key and product forms.** `NervesHubWeb.Live.Org.SigningKeys` and `NervesHubWeb.Live.Products.New` build their parameters with `Enum.into(submitted, %{\"org_id\" => session_org_id})`, so a submitted `org_id` overrides the session's, and the key or product is created in the organization named by the client.\n\n**3. JITP settings.** `NervesHub.Devices.CACertificate.JITP.changeset/2` casts any `product_id`, through the API and the dashboard, so devices the certificate authority provisions are created in another organization's product.\n\n**4. Firmware delivery.** When a planted device connects, `NervesHub.ManagedDeployments` checks its deployment group membership by firmware version, platform and architecture only, all reported by the device, so it stays on the foreign group and is sent that group's current release with a download URL."}],"value":"1. Device API and device forms. NervesHubWeb.API.DeviceController.create/2 sets org_id and product_id from the route, then hands the rest of the request to Device.changeset/2; update/2 hands the whole request over. The changeset casts org_id, product_id, deployment_id, deleted_at and the server-managed update state, so an update can move the device into another organization's product and either request can place it on another organization's deployment group. The device settings form in NervesHubWeb.Components.DevicePage.SettingsTab and the new device form in NervesHubWeb.Live.Devices.New reach the same changeset with the same effect.\n\n2. Signing key and product forms. NervesHubWeb.Live.Org.SigningKeys and NervesHubWeb.Live.Products.New build their parameters with Enum.into(submitted, %{\"org_id\" => session_org_id}), so a submitted org_id overrides the session's, and the key or product is created in the organization named by the client.\n\n3. JITP settings. NervesHub.Devices.CACertificate.JITP.changeset/2 casts any product_id, through the API and the dashboard, so devices the certificate authority provisions are created in another organization's product.\n\n4. Firmware delivery. When a planted device connects, NervesHub.ManagedDeployments checks its deployment group membership by firmware version, platform and architecture only, all reported by the device, so it stays on the foreign group and is sent that group's current release with a download URL."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-120730","datePublished":"2026-11-10T10:43:47.924Z","dateReserved":"2026-11-03T03:45:01.695Z","dateUpdated":"2026-11-10T10:43:47.924Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-10 11:16:42","lastModifiedDate":"2026-11-10 11:16:42","problem_types":["CWE-639","CWE-915","CWE-639 CWE-639 Authorization Bypass Through User-Controlled Key","CWE-915 CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes"],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":8.6,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"120730","Ordinal":"1","Title":"Mass assignment of organization, product and deployment group ID","CVE":"CVE-2026-120730","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"120730","Ordinal":"1","NoteData":"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.\n\nA 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.\n\nThis issue affects nerves_hub: from 1.0.0 before 2.5.3.","Type":"Description","Title":"Mass assignment of organization, product and deployment group ID"}]}}}