PT-2026-141571
CVE-2026-120730
·
Published
2026-11-10
·
Updated
2026-11-12
Description by
CVSS 4.0
8.6
HighMetricsAV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
nerves hub versions 1.0.0 through 2.5.2
Description
An Improperly Controlled Modification of Dynamically-Determined Object Attributes exists in the device API, device forms, signing key and product forms, and JITP settings. This allows an authenticated user with a
manage role in any organization to write data into other organizations by submitting specific fields.Technical details include:
- The device API create and update actions, as well as dashboard device forms, pass parameters to the
NervesHub.Devices.Device.changeset/2function, which casts the organization, product, deployment group, and update state as provided. - The signing key and product forms merge the session organization into submitted parameters, allowing a submitted
org idto override the session value. - The JITP changeset accepts any
product idvia the API and dashboard. - Vulnerable API endpoints include
/api/orgs/<A>/products/<A's product>/devicesfor creation and/api/orgs/<A>/products/<A's product>/devices/<identifier>for updates. - Vulnerable parameters include
org id,product id, anddeployment id.
An attacker can attach their device to another organization's deployment group to receive its firmware, move devices into another organization's product, or add firmware signing keys and products to a foreign organization. However, the attacker cannot control devices that already belong to the target organization or upload firmware to it.
Recommendations
Update nerves hub to version 2.5.3 or later.
After upgrading, review the database to identify and remove devices whose organization does not own their product, signing keys in
org keys where the created by id was never a member of that organization, and certificate authorities whose JITP product belongs to another organization.
Review all organization devices and products to identify and remove any unauthorized entries.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾