# EEF-CVE-2026-137262: Open LiveView keeps the previous role after a role change in Varsel

- Database: EEF
- Published: 2026-12-02
- Modified: 2026-12-02

## Tracked as

- [CVE-2026-137262](https://cve.now/CVE-2026-137262.md): Open LiveView keeps the previous role after a role change in Varsel

## Description

## Summary

Improper Privilege Management vulnerability in erlef-cna Varsel allows a user whose role was lowered to keep acting with the previous role through a LiveView that is already open.

A LiveView resolves its actor when it mounts and keeps it. On a role change, `Varsel.Accounts.Notifiers.DisconnectSockets.notify/1` broadcasts a disconnect on the user topic, which only GraphQL sockets subscribe to. A LiveView socket is named after its session token and stays open. A former POC or supporter keeps the actions of the previous role, including publishing for a former POC, until the page mounts again.

This issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from c7b718a9b8c24cf2aac245deb3b3319605a5ef2d before 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e.

## Impact

A user whose role was lowered keeps the actions of the previous role in a page that is already open. For a former POC this includes publishing.

## References

- https://github.com/erlef-cna/varsel/security/advisories/GHSA-jh82-xxcc-gxqp
- https://cna.erlef.org/cves/CVE-2026-137262.html
- https://github.com/erlef-cna/varsel/commit/c7b718a9b8c24cf2aac245deb3b3319605a5ef2d
- https://github.com/erlef-cna/varsel/commit/76ac7dcade62473cfd8b98ae5d368b16b88e9f6e

Page: https://cve.now/EEF-CVE-2026-137262

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
