Incorrect Authorization vulnerability in erlef-cna Varsel allows a supporter to gain edit access to a case that they may only read through a pre-disclosure list.
Varsel.Cases.merge_case/3 checks the actor on the case that is merged, but not on the case that takes over. The case that takes over receives the assignments of the merged case. A supporter who merges a case of their own into a case shared through a list becomes an assignee of that case and can edit it. Varsel.Cases.split_case/3 has the same gap. A supporter can split such a case, which opens a new case with the same assignments and sends its invites again. The supporter gains no access to the new case.
This issue affects cna.erlef.org: from 2026-11-30 before 2026-12-02; erlef-cna/varsel: from 33a31e7239a3a1c1b7982cbecceaac7a399d3aef before a406189d41abd62465eb6b2574e53e6c7916c3e8.
A supporter who reads an embargoed case through a pre-disclosure list becomes an assignee of that case and can edit it.
{
"$schema": "https://cna.erlef.org/schemas/osv/record-0.1.0.json",
"capec_ids": [
"CAPEC-233"
],
"cpe_ids": [
"cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-863"
]
}"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
[
"'Elixir.Varsel.Cases.Case'",
"'Elixir.Varsel.Cases'"
]
[
"lib/varsel/cases/case.ex",
"lib/varsel/cases.ex"
]
[
"'Elixir.Varsel.Cases':merge_case/3",
"'Elixir.Varsel.Cases':split_case/3"
]
"https://cna.erlef.org/osv/EEF-CVE-2026-130413.json"