{"api_version":"1","generated_at":"2026-12-02T14:05:47+00:00","cve":"CVE-2026-137262","urls":{"html":"https://cve.report/CVE-2026-137262","api":"https://cve.report/api/cve/CVE-2026-137262.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-137262","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-137262"},"summary":{"title":"Open LiveView keeps the previous role after a role change in Varsel","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.\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.","state":"PUBLISHED","assigner":"EEF","published_at":"2026-12-02 13:17:14","updated_at":"2026-12-02 13:17:14"},"problem_types":["CWE-269","CWE-269 CWE-269 Improper Privilege Management"],"metrics":[{"version":"4.0","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","score":"7.4","severity":"HIGH","vector":"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","data":{"version":"4.0","vectorString":"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","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"7.4","severity":"HIGH","vector":"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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.4,"baseSeverity":"HIGH","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/erlef-cna/varsel/commit/76ac7dcade62473cfd8b98ae5d368b16b88e9f6e","name":"https://github.com/erlef-cna/varsel/commit/76ac7dcade62473cfd8b98ae5d368b16b88e9f6e","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/erlef-cna/varsel/security/advisories/GHSA-jh82-xxcc-gxqp","name":"https://github.com/erlef-cna/varsel/security/advisories/GHSA-jh82-xxcc-gxqp","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cna.erlef.org/cves/CVE-2026-137262.html","name":"https://cna.erlef.org/cves/CVE-2026-137262.html","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/erlef-cna/varsel/commit/c7b718a9b8c24cf2aac245deb3b3319605a5ef2d","name":"https://github.com/erlef-cna/varsel/commit/c7b718a9b8c24cf2aac245deb3b3319605a5ef2d","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-137262","name":"https://osv.dev/vulnerability/EEF-CVE-2026-137262","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-137262","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137262","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"erlef-cna","product":"varsel","version":"affected 2026-07-30 2026-12-02 date","platforms":[]},{"source":"CNA","vendor":"erlef-cna","product":"varsel","version":"affected c7b718a9b8c24cf2aac245deb3b3319605a5ef2d 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e git","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cna.erlef.org","cpes":["cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Varsel.Accounts.Notifiers.DisconnectSockets'","'Elixir.VarselWeb.LiveUserAuth'"],"packageName":"cna.erlef.org","product":"varsel","programFiles":["lib/varsel/accounts/notifiers/disconnect_sockets.ex","lib/varsel_web/live_user_auth.ex"],"programRoutines":[{"name":"'Elixir.Varsel.Accounts.Notifiers.DisconnectSockets':notify/1"},{"name":"'Elixir.VarselWeb.LiveUserAuth':on_mount/4"}],"vendor":"erlef-cna","versions":[{"lessThan":"2026-12-02","status":"affected","version":"2026-07-30","versionType":"date"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Varsel.Accounts.Notifiers.DisconnectSockets'","'Elixir.VarselWeb.LiveUserAuth'"],"packageName":"erlef-cna/varsel","packageURL":"pkg:github/erlef-cna/varsel","product":"varsel","programFiles":["lib/varsel/accounts/notifiers/disconnect_sockets.ex","lib/varsel_web/live_user_auth.ex"],"programRoutines":[{"name":"'Elixir.Varsel.Accounts.Notifiers.DisconnectSockets':notify/1"},{"name":"'Elixir.VarselWeb.LiveUserAuth':on_mount/4"}],"repo":"https://github.com/erlef-cna/varsel","vendor":"erlef-cna","versions":[{"lessThan":"76ac7dcade62473cfd8b98ae5d368b16b88e9f6e","status":"affected","version":"c7b718a9b8c24cf2aac245deb3b3319605a5ef2d","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*","versionEndExcluding":"76ac7dcade62473cfd8b98ae5d368b16b88e9f6e","versionStartIncluding":"c7b718a9b8c24cf2aac245deb3b3319605a5ef2d","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"reporter","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation developer","value":"Jonatan Männchen / EEF"}],"dateAssigned":"2026-12-02T10:26:11.000Z","datePublic":"2026-12-02T12:06:14.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>\n<p>A LiveView resolves its actor when it mounts and keeps it. On a role change, <code>Varsel.Accounts.Notifiers.DisconnectSockets.notify/1</code> 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.</p>\n<p>This issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from c7b718a9b8c24cf2aac245deb3b3319605a5ef2d before 76ac7dcade62473cfd8b98ae5d368b16b88e9f6e.</p>"},{"base64":false,"type":"text/markdown","value":"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."}],"value":"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."}],"impacts":[{"capecId":"CAPEC-122","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>"},{"base64":false,"type":"text/markdown","value":"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."}],"value":"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."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.4,"baseSeverity":"HIGH","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-269","description":"CWE-269 Improper Privilege Management","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-02T12:06:15.961Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"Open LiveView keeps the previous role after a role change in Varsel","tags":["vendor-advisory","related"],"url":"https://github.com/erlef-cna/varsel/security/advisories/GHSA-jh82-xxcc-gxqp"},{"name":"EEF CNA record for CVE-2026-137262","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-137262.html"},{"name":"OSV record EEF-CVE-2026-137262","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-137262"},{"name":"Introducing commit c7b718a in erlef-cna/varsel","tags":["related"],"url":"https://github.com/erlef-cna/varsel/commit/c7b718a9b8c24cf2aac245deb3b3319605a5ef2d"},{"name":"Fix commit 76ac7dc in erlef-cna/varsel","tags":["patch"],"url":"https://github.com/erlef-cna/varsel/commit/76ac7dcade62473cfd8b98ae5d368b16b88e9f6e"}],"source":{"discovery":"INTERNAL"},"title":"Open LiveView keeps the previous role after a role change in Varsel"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-137262","datePublished":"2026-12-02T12:06:15.961Z","dateReserved":"2026-11-27T15:43:15.461Z","dateUpdated":"2026-12-02T12:06:15.961Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-02 13:17:14","lastModifiedDate":"2026-12-02 13:17:14","problem_types":["CWE-269","CWE-269 CWE-269 Improper Privilege Management"],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"137262","Ordinal":"1","Title":"Open LiveView keeps the previous role after a role change in Var","CVE":"CVE-2026-137262","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"137262","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Open LiveView keeps the previous role after a role change in Var"}]}}}