Incorrect authorization in the devices page bulk move allows view-role members to move devices into another organization and receive its firmware
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 10, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 6, 2026
Description
Incorrect Authorization vulnerability in the devices page bulk move in nerves-hub nerves_hub_web allows an authenticated user with the manage role in one organization and only the view role in another to move devices into the second organization's product via the "Move device(s) to product" action. The target-product event in NervesHubWeb.Live.Devices.Index looks the product up with NervesHub.Products.get_by_id/2, which checks that the user is a member of the product's organization at any role, and move-devices-product then changes each selected device's organization and product. The device API's move requires manage in the target organization, and an earlier fix added the check on the organization the devices leave but not on the one they enter.
A moved device keeps its key and certificate, joins the target organization's matching deployment groups, and is sent their firmware with a download URL, which the view role cannot otherwise obtain. The user cannot change or control devices that already belong to the other organization.
This issue affects nerves_hub: from 1.0.0 before 2.5.3.
| Product | Versions |
|---|---|
| nerves_hub_web nerves-hub | 1.0.0 to before 2.5.3 Affected |
| nerves_hub_web nerves-hub | 1.0.0 to before 2.5.3 Affected |
| nerves_hub_web nerves-hub | 79743ef08f7f801617b653fd09f37c01ed9b4be0 to before 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa Affectedadaeefdb7a835525482588f43332ef988cc448c7 and later Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | EEF |
Weaknesses
- CWE-863 Incorrect Authorization
References
- Users with the ‘view’ role in an organization can move devices into itVendor AdvisoryRelated
- EEF CNA record for CVE-2026-120295Related
- OSV record EEF-CVE-2026-120295Related
- Introducing commit 79743ef in nerves-hub/nerves_hub_webRelated
- Introducing commit adaeefd in nerves-hub/nerves_hub_webRelated
- Fix commit 1bc8be8 in nerves-hub/nerves_hub_webPatch
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.