CVE-2026-120295nerves-hub nerves_hub_web Incorrect Authorization
NVD
Vulnerability Summary
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.
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- nerves-hub nerves_hub_web >= 1.0.0 and < 2.5.3
- nerves-hub nerves_hub_web >= adaeefdb7a835525482588f43332ef988cc448c7 and < *
- nerves-hub nerves_hub_web >= 79743ef08f7f801617b653fd09f37c01ed9b4be0 and < 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa
- nerves-hub nerves_hub_web 2.5.3
- nerves-hub nerves_hub_web *
- nerves-hub nerves_hub_web 1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run nerves-hub nerves_hub_web and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 10, 2026Published
- Nov 12, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new nerves-hub nerves_hub_web CVEsYou are reading CVE-2026-120295. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore nerves-hub nerves_hub_web CVEs
External References
- Vendor Advisoryhttps://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-2j7r-q3vm-8j34
- Referencehttps://cna.erlef.org/cves/CVE-2026-120295.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-120295
- Patchhttps://github.com/nerves-hub/nerves_hub_web/commit/adaeefdb7a835525482588f43332ef988cc448c7
- Patchhttps://github.com/nerves-hub/nerves_hub_web/commit/79743ef08f7f801617b653fd09f37c01ed9b4be0
- Patchhttps://github.com/nerves-hub/nerves_hub_web/commit/1bc8be875ab6b1eb904e5ff60c8a1421c5c700fa
Data last checked: Nov 14, 2026 01:09 UTC