{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-137262",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-11-27T15:43:15.461Z",
        "datePublished": "2026-12-02T12:06:15.961Z",
        "dateUpdated": "2026-12-02T16:51:29.875Z"
    },
    "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": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-12-02T12:06:15.961Z"
            },
            "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"
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-02T16:45:52.279079Z",
                                "id": "CVE-2026-137262",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-02T16:51:29.875Z"
                }
            }
        ]
    }
}