CVE-2026-137262

7.4High

Published Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.4CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
High
User action
None
Impact
High impact on confidentiality, integrity
Weakness
CWE-269

What an attacker gets

Authenticated users with lowered roles can retain their previous elevated privileges in existing LiveView sessions. An attacker needs an existing session and a role downgrade to exploit this.

Root cause

LiveView sockets do not re-verify user roles after the initial mount, and the disconnect notification mechanism fails to target LiveView sessions.

Affected versions

erlef-cna/varsel commit c7b718a9b8c24cf2aac245deb3b3319605a5ef2d through commit 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Update the erlef-cna/varsel dependency to commit 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e or later. As a temporary mitigation, force a global session invalidation or manually terminate active user sessions when role changes occur.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137262

More fully triaged vulnerabilities you may want to check next.