CVE-2026-120295
High 7.1No known exploitationFix availableIncorrect authorization in the devices page bulk move allows view-role members to move devices into another organization and receive its firmware
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 15% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-863
Patching and mitigation
- Patch status
- Fix available (source: CVE record (EEF))
- Fix documented (source date)
- Vendor solution
- Every move is recorded in the target product's audit log as "User moved device to : ". After upgrading, review the audit_logs rows with resource type NervesHub.Products.Product and a description containing "moved device" whose actor does not hold the manage or admin role in that organization, and move or remove the devices they brought in. Roles may have changed since a move, and entries older than the retention period are gone when TRUNCATE_AUDIT_LOGS_ENABLED is on.
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| nerves-hub | nerves_hub_web | from 1.0.0 before 2.5.3 | 2.5.3 | CVE Program |
| nerves-hub | nerves_hub_web | from 1.0.0 before 2.5.3 | 2.5.3 | CVE Program |
| nerves-hub | nerves_hub_web | from 79743ef08f7f801617b653fd09f37c01ed9b4be0 before 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa | 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa | CVE Program |
| nerves-hub | nerves_hub_web | adaeefdb7a835525482588f43332ef988cc448c7 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (EEF)
Vendor guidance and references
- Fix commit 1bc8be8 in nerves-hub/nerves_hub_web (opens in a new tab)patch
- Users with the ‘view’ role in an organization can move devices into it (opens in a new tab)related, vendor-advisory
- EEF CNA record for CVE-2026-120295 (opens in a new tab)related
- Introducing commit 79743ef in nerves-hub/nerves_hub_web (opens in a new tab)related
- Introducing commit adaeefd in nerves-hub/nerves_hub_web (opens in a new tab)related
- OSV record EEF-CVE-2026-120295 (opens in a new tab)related