FKIE_CVE-2026-120730

Vulnerability from fkie_nvd - Published: 2026-11-10 11:16 - Updated: 2026-11-12 20:07
Summary
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.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "collectionURL": "https://ghcr.io",
          "cpes": [
            "cpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.NervesHubWeb.API.DeviceController\u0027",
            "\u0027Elixir.NervesHub.Devices.Device\u0027",
            "\u0027Elixir.NervesHubWeb.Components.DevicePage.SettingsTab\u0027",
            "\u0027Elixir.NervesHubWeb.Live.Devices.New\u0027",
            "\u0027Elixir.NervesHubWeb.Live.Org.SigningKeys\u0027",
            "\u0027Elixir.NervesHubWeb.Live.Products.New\u0027",
            "\u0027Elixir.NervesHub.Devices.CACertificate.JITP\u0027",
            "\u0027Elixir.NervesHub.ManagedDeployments\u0027"
          ],
          "packageName": "nerves-hub/nerves-hub",
          "packageURL": "pkg:oci/nerves-hub?repository_url=ghcr.io%2Fnerves-hub%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": "\u0027Elixir.NervesHubWeb.API.DeviceController\u0027:create/2"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.API.DeviceController\u0027:update/2"
            },
            {
              "name": "\u0027Elixir.NervesHub.Devices.Device\u0027:changeset/2"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Components.DevicePage.SettingsTab\u0027:hooked_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Live.Devices.New\u0027:handle_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Live.Org.SigningKeys\u0027:handle_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Live.Products.New\u0027:handle_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHub.Devices.CACertificate.JITP\u0027: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": [
            "\u0027Elixir.NervesHubWeb.API.DeviceController\u0027",
            "\u0027Elixir.NervesHub.Devices.Device\u0027",
            "\u0027Elixir.NervesHubWeb.Components.DevicePage.SettingsTab\u0027",
            "\u0027Elixir.NervesHubWeb.Live.Devices.New\u0027",
            "\u0027Elixir.NervesHubWeb.Live.Org.SigningKeys\u0027",
            "\u0027Elixir.NervesHubWeb.Live.Products.New\u0027",
            "\u0027Elixir.NervesHub.Devices.CACertificate.JITP\u0027",
            "\u0027Elixir.NervesHub.ManagedDeployments\u0027"
          ],
          "packageName": "nerves_hub",
          "packageURL": "pkg:otp/nerves_hub?repository_url=https:%2F%2Fgithub.com%2Fnerves-hub%2Fnerves_hub_web\u0026vcs_url=git%2Bhttps:%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": "\u0027Elixir.NervesHubWeb.API.DeviceController\u0027:create/2"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.API.DeviceController\u0027:update/2"
            },
            {
              "name": "\u0027Elixir.NervesHub.Devices.Device\u0027:changeset/2"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Components.DevicePage.SettingsTab\u0027:hooked_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Live.Devices.New\u0027:handle_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Live.Org.SigningKeys\u0027:handle_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Live.Products.New\u0027:handle_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHub.Devices.CACertificate.JITP\u0027: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": [
            "\u0027Elixir.NervesHubWeb.API.DeviceController\u0027",
            "\u0027Elixir.NervesHub.Devices.Device\u0027",
            "\u0027Elixir.NervesHubWeb.Components.DevicePage.SettingsTab\u0027",
            "\u0027Elixir.NervesHubWeb.Live.Devices.New\u0027",
            "\u0027Elixir.NervesHubWeb.Live.Org.SigningKeys\u0027",
            "\u0027Elixir.NervesHubWeb.Live.Products.New\u0027",
            "\u0027Elixir.NervesHub.Devices.CACertificate.JITP\u0027",
            "\u0027Elixir.NervesHub.ManagedDeployments\u0027"
          ],
          "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": "\u0027Elixir.NervesHubWeb.API.DeviceController\u0027:create/2"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.API.DeviceController\u0027:update/2"
            },
            {
              "name": "\u0027Elixir.NervesHub.Devices.Device\u0027:changeset/2"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Components.DevicePage.SettingsTab\u0027:hooked_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Live.Devices.New\u0027:handle_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Live.Org.SigningKeys\u0027:handle_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHubWeb.Live.Products.New\u0027:handle_event/3"
            },
            {
              "name": "\u0027Elixir.NervesHub.Devices.CACertificate.JITP\u0027:changeset/2"
            }
          ],
          "repo": "https://github.com/nerves-hub/nerves_hub_web",
          "vendor": "nerves-hub",
          "versions": [
            {
              "lessThan": "c367d7d17d07f843e78a70d15904665616dde964",
              "status": "affected",
              "version": "f58d58233dbd355c58d3a140107ece18e8863f14",
              "versionType": "git"
            }
          ]
        }
      ],
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "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\u0027s 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\u0027s own organization, and any account can create one.\n\nA device placed on another organization\u0027s deployment group, or moved into its product, is sent that organization\u0027s 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."
    }
  ],
  "id": "CVE-2026-120730",
  "lastModified": "2026-11-12T20:07:11.090",
  "metrics": {
    "cvssMetricV40": [
      {
        "cvssData": {
          "Automatable": "NOT_DEFINED",
          "Recovery": "NOT_DEFINED",
          "Safety": "NOT_DEFINED",
          "attackComplexity": "LOW",
          "attackRequirements": "NONE",
          "attackVector": "NETWORK",
          "availabilityRequirement": "NOT_DEFINED",
          "baseScore": 8.6,
          "baseSeverity": "HIGH",
          "confidentialityRequirement": "NOT_DEFINED",
          "exploitMaturity": "NOT_DEFINED",
          "integrityRequirement": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "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/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",
          "version": "4.0",
          "vulnAvailabilityImpact": "NONE",
          "vulnConfidentialityImpact": "HIGH",
          "vulnIntegrityImpact": "HIGH",
          "vulnerabilityResponseEffort": "NOT_DEFINED"
        },
        "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "type": "Secondary"
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-120730",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "timestamp": "2026-11-12T17:46:09.344720Z",
          "version": "2.0.3"
        }
      }
    ]
  },
  "published": "2026-11-10T11:16:42.230",
  "references": [
    {
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "url": "https://cna.erlef.org/cves/CVE-2026-120730.html"
    },
    {
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "url": "https://github.com/nerves-hub/nerves_hub_web/commit/c367d7d17d07f843e78a70d15904665616dde964"
    },
    {
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "url": "https://github.com/nerves-hub/nerves_hub_web/commit/f58d58233dbd355c58d3a140107ece18e8863f14"
    },
    {
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "url": "https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-rpp7-x9hm-jrmr"
    },
    {
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-120730"
    },
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "url": "https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-rpp7-x9hm-jrmr"
    }
  ],
  "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-639"
        },
        {
          "lang": "en",
          "value": "CWE-915"
        }
      ],
      "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "type": "Secondary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…