# CVE-2026-120295: Incorrect authorization in the devices page bulk move allows view-role members to move devices into another organization and receive its firmware

- Severity: High 7.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-10T10:43:26.342Z
- Modified: 2026-11-25T06:30:20.066Z
- Also known as: EEF-CVE-2026-120295, GHSA-2j7r-q3vm-8j34
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- nerves-hub/nerves-hub: from 1.0.0 before 2.5.3
- nerves_hub: from 1.0.0 before 2.5.3
- nerves-hub/nerves_hub_web: from 79743ef08f7f801617b653fd09f37c01ed9b4be0 before 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa; from adaeefdb7a835525482588f43332ef988cc448c7 before *
- https://github.com/nerves-hub/nerves_hub_web: from 79743ef08f7f801617b653fd09f37c01ed9b4be0 before 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa; from adaeefdb7a835525482588f43332ef988cc448c7

## Every score

- EEF: CVSS:4.0 7.1 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-2j7r-q3vm-8j34> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-120295.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-120295> (related)
- <https://github.com/nerves-hub/nerves_hub_web/commit/79743ef08f7f801617b653fd09f37c01ed9b4be0> (related, web)
- <https://github.com/nerves-hub/nerves_hub_web/commit/adaeefdb7a835525482588f43332ef988cc448c7> (related, web)
- <https://github.com/nerves-hub/nerves_hub_web/commit/1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa> (fix, patch)

## Sources

- CVE List: [CVE-2026-120295](https://www.cve.org/CVERecord?id=CVE-2026-120295), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-120295](https://osv.dev/vulnerability/EEF-CVE-2026-120295), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-120295](https://nvd.nist.gov/vuln/detail/CVE-2026-120295), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-120295 · Whole record: https://cve.day/CVE-2026-120295.json · Rebuilt by cve.day 2026-11-25T22:59:49.737Z
