Varselで権限変更後も開いたままのLiveViewが旧ロールの操作を許す脆弱性
Summary
ロールを下げられたユーザーが、すでに開いているLiveViewで以前のロールの操作を続けられる脆弱性です。元POCの場合は公開操作も含まれ、ページを開き直すまで有効なままになります。Varselは修正版76ac7dcade62473cfd8b98ae5d368b16b88e9f6eで対応しており、cna.erlef.orgの運用者は修正版への更新を急いでください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
ロールを下げられたユーザーが、すでに開いているLiveViewで以前のロールの操作を続けられる脆弱性です。元POCの場合は公開操作も含まれ、ページを開き直すまで有効なままになります。Varselは修正版76ac7dcade62473cfd8b98ae5d368b16b88e9f6eで対応しており、cna.erlef.orgの運用者は修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| erlef-cnavarsel |
≥ c7b718a9b8c24cf2aac245deb3b3319605a5ef2d, < 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e→ 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e |
76ac7dcade62473cfd8b98ae5d368b16b88e9f6e |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web cna.erlef.org
- web github.com
- web github.com
- web osv.dev
- web cna.erlef.org
- web github.com