CVE-2026-120295
HIGH 7.1CVSS 4.0Incorrect authorization in the devices page bulk move allows view-role members to move devices into another organization and receive its firmware
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.
- Published
- 10 Nov 2026
- Last modified
- 20 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-863
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/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 |
| CVE List | EEF | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://ghcr.io | nerves-hub/nerves-hubcpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* |
>= 1.0.0, < 2.5.3 | 2.5.3 |
| CVE List | nerves-hub | nerves_hubcpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* |
>= 1.0.0, < 2.5.3 | 2.5.3 |
| CVE List | https://github.com | nerves-hub/nerves_hub_webcpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* |
>= 79743ef08f7f801617b653fd09f37c01ed9b4be0, < 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa; >= adaeefdb7a835525482588f43332ef988cc448c7 | 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa |
References
- https://cna.erlef.org/cves/CVE-2026-120295.html · related
- https://github.com/nerves-hub/nerves_hub_web/commit/1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa · patch
- https://github.com/nerves-hub/nerves_hub_web/commit/79743ef08f7f801617b653fd09f37c01ed9b4be0 · related
- https://github.com/nerves-hub/nerves_hub_web/commit/adaeefdb7a835525482588f43332ef988cc448c7 · related
- https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-2j7r-q3vm-8j34 · vendor-advisory, related
- https://osv.dev/vulnerability/EEF-CVE-2026-120295 · related
History
- 25 Nov 2026 20:32 UTC · CVE List: first stored (published 10 Nov 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 10 Nov 2026)