# 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:** 7.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.33% (percentile 18, 2026-11-28)
- **CWE:** CWE-863
- **Published:** 2026-11-10T10:43:26.342Z
- **Modified:** 2026-11-20T06:17:19.410Z

## Who should check

- Anyone running nerves-hub nerves\_hub\_web \>= 1.0.0, \< 2.5.3
- Anyone running nerves-hub nerves\_hub\_web \>= 79743ef08f7f801617b653fd09f37c01ed9b4be0, \< 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa; \>= adaeefdb7a835525482588f43332ef988cc448c7, \< \*

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

## Affected and fixed versions

- nerves-hub nerves\_hub\_web: \>= 1.0.0, \< 2.5.3 (cvelist)
- nerves-hub nerves\_hub\_web: \>= 1.0.0, \< 2.5.3 (cvelist)
- nerves-hub nerves\_hub\_web: \>= 79743ef08f7f801617b653fd09f37c01ed9b4be0, \< 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa; \>= adaeefdb7a835525482588f43332ef988cc448c7, \< \* (cvelist)

## Mitigation

- Upgrade nerves\_hub\_web to 2.5.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-120295. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-120295.md
Affected: nerves-hub nerves_hub_web >= 1.0.0, < 2.5.3; nerves-hub nerves_hub_web >= 1.0.0, < 2.5.3; nerves-hub nerves_hub_web >= 79743ef08f7f801617b653fd09f37c01ed9b4be0, < 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa; >= adaeefdb7a835525482588f43332ef988cc448c7, < *
Fixed in: nerves-hub nerves_hub_web 2.5.3, nerves-hub nerves_hub_web 2.5.3, nerves-hub nerves_hub_web 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa

Steps:
1. Search this machine and project for nerves-hub nerves_hub_web: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-120295 being exploited?

There is no confirmed exploitation: CVE-2026-120295 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-120295?

High: CVSS 7.1 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-120295?

nerves-hub nerves\_hub\_web \>= 1.0.0, \< 2.5.3; nerves-hub nerves\_hub\_web \>= 1.0.0, \< 2.5.3; nerves-hub nerves\_hub\_web \>= 79743ef08f7f801617b653fd09f37c01ed9b4be0, \< 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa; \>= adaeefdb7a835525482588f43332ef988cc448c7, \< \*.

### Is there a fix for CVE-2026-120295?

Yes. Fixed in nerves-hub nerves\_hub\_web 2.5.3, nerves-hub nerves\_hub\_web 2.5.3, nerves-hub nerves\_hub\_web 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa. Upgrade nerves\_hub\_web to 2.5.3 or later.

### How do I check if I'm affected by CVE-2026-120295?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-120295>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-120295> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-120295>
