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

Published Dec 2, 2026
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

1 affected component
erlef-cna Varsel>=2026-07-30<2026-12-02, >=c7b718a9b8c24cf2aac245deb3b3319605a5ef2d<76ac7dcade62473cfd8b98ae5d368b16b88e9f6e

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade erlef-cna/varsel to a version that resolves this vulnerability.

    Fixed in 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e

Event History

Dec 2, 2026
CVE Published
via MITRE·12:06 PM
Data Sourced
via MITRE·12:06 PM
DescriptionWeakness
Data Sourced
via OSV·12:06 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can retain privileges after their role is changed?

Users whose roles are lowered while they already have a LiveView page open can continue using the role resolved when that LiveView mounted. This includes former POCs, who may retain publishing capability, and former supporters.

2

What does an attacker need to exploit this issue?

The user must already have had a higher-privileged role and an active LiveView session when their role is reduced. They can continue performing actions available to the previous role until the page mounts again.

3

What can be done if the fix cannot be deployed immediately?

Ensure affected users remount the open LiveView page after a role reduction, since the stale actor remains associated with the existing page. The documented disconnect notification applies only to GraphQL sockets, not the LiveView socket.

4

How can I determine whether a deployment is affected?

The affected cna.erlef.org deployment range is from 2026-07-30 before 2026-12-02. For the erlef-cna/varsel repository, affected revisions are from c7b718a9b8c24cf2aac245deb3b3319605a5ef2d before 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203