---
id: "CVE-2026-120286"
page: "https://infrastack.ai/live/CVE-2026-120286"
kind: "vulnerability"
aliases: ["CVE-2026-120286"]
title: "nerves_hub_web: view-role members can change devices and deployment groups"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["elixir", "firmware-updates", "nerves-hub", "package", "self-hosted"]
not_affected_if: ["managed-hosting", "no-view-role-members"]
published_at: "2026-11-10T11:16:41+00:00"
first_seen_at: "2026-11-10T11:21:35+00:00"
updated_at: "2026-11-10T11:22:06+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120286", "first_seen_at": "2026-11-10T11:21:35+00:00"}]
exploit_sources: []
---

# nerves_hub_web: view-role members can change devices and deployment groups

Link for people: https://infrastack.ai/live/CVE-2026-120286 (this .md is for agents)

Members with only the view role in nerves_hub_web can run LiveView events meant for the manage role, including adding device certificates, changing tags and deployment groups, and importing devices. A view member could add a certificate that lets its key holder connect as a device, or delete a device's certificate, but only within organizations they already belong to.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the `nerves_hub` version in `mix.lock` or `mix.exs`; affected releases are from `1.0.0` before `2.5.3`.
- Review which users hold the view role in your organizations; any view member can exercise this.

## Fix

- `nerves_hub`: move to `2.5.3` or later.

## Timeline

- 2026-11-10T11:21:35+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-120286

## Documents

- [advisory] Vendor advisory: github.com https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-gxj7-m8x6-r644
- [fix] Patch: github.com https://github.com/nerves-hub/nerves_hub_web/commit/34ea112472a460319c1e1dec8ad0ffc37df05ffe
- [fix] Patch: github.com https://github.com/nerves-hub/nerves_hub_web/commit/7b511764a468bb2c1f33945874faa86af2255c0c

## From the sources

Missing Authorization vulnerability in the device and deployment group pages in nerves-hub nerves_hub_web allows an authenticated organization member with the view role to change devices and deployment groups via LiveView events reserved for the manage role. The event handlers that add and delete device certificates, add and remove tags, overwrite or clear a device's manual location, remove a device from its deployment group, move matched devices into a deployment group or remove unmatched ones, import devices from a CSV, and start, retry or delete firmware delta builds carry out the change without calling authorized!/2, and the pages render the controls to every member.

A view member can add a certificate that lets whoever holds its key connect as the device, delete a certificate so the device can no longer authenticate with it, and change which deployment group, and so which firmware release, a device receives. Everything stays within the organizations the member belongs to.

This issue affects nerves_hub: from 1.0.0 before 2.5.3.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
