{"id":"CVE-2026-137262","summary":"Open LiveView keeps the previous role after a role change in Varsel","details":"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.\n\nA 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.\n\nThis issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from c7b718a9b8c24cf2aac245deb3b3319605a5ef2d before 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e.","aliases":["EEF-CVE-2026-137262","GHSA-jh82-xxcc-gxqp"],"modified":"2026-12-02T14:00:08.957447980Z","published":"2026-12-02T12:06:15.961Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-269"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137262.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"2026-07-30"},{"fixed":"2026-12-02"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}]},"references":[{"type":"WEB","url":"https://cna.erlef.org"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-137262.html"},{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137262.json"},{"type":"PACKAGE","url":"https://github.com/erlef-cna/varsel"},{"type":"FIX","url":"https://github.com/erlef-cna/varsel/commit/76ac7dcade62473cfd8b98ae5d368b16b88e9f6e"},{"type":"FIX","url":"https://github.com/erlef-cna/varsel/commit/c7b718a9b8c24cf2aac245deb3b3319605a5ef2d"},{"type":"ADVISORY","url":"https://github.com/erlef-cna/varsel/security/advisories/GHSA-jh82-xxcc-gxqp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137262"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-137262"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/erlef-cna/varsel","events":[{"introduced":"c7b718a9b8c24cf2aac245deb3b3319605a5ef2d"},{"fixed":"76ac7dcade62473cfd8b98ae5d368b16b88e9f6e"},{"fixed":"c7b718a9b8c24cf2aac245deb3b3319605a5ef2d"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"c7b718a9b8c24cf2aac245deb3b3319605a5ef2d"},{"fixed":"76ac7dcade62473cfd8b98ae5d368b16b88e9f6e"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"c7b718a9b8c24cf2aac245deb3b3319605a5ef2d"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"76ac7dcade62473cfd8b98ae5d368b16b88e9f6e"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137262.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}