{"id":"CVE-2026-48592","aliases":["CVE-2026-48592","GHSA-389x-rgxr-8m33","EEF-CVE-2026-48592"],"related":[],"kind":"vulnerability","state":"published","title":"Missing authorization check on save-job event handler in oban_web","summary":"Missing Authorization vulnerability in oban-bg oban_web (Oban.Web.Jobs.DetailComponent modules) allows unauthorized job worker substitution.\n\nThe handle_event(\"save-job\", ...) handler in Oban.Web.Jobs.DetailComponent does not perform an authorization check, unlike the sibling cancel, delete, and retry handlers which all verify the caller's privileges via can?/2. An authenticated user with :read_only access can push a forged save-job LiveView WebSocket event to overwrite a job's worker field with any other existing Oban.Worker module in the application. On the job's next execution attempt, Oban will invoke perform/1 on the attacker-chosen module instead of the intended one.\n\nThis issue affects oban_web: from 2.12.0 before 2.12.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Missing Authorization vulnerability in oban-bg oban_web (Oban.Web.Jobs.DetailComponent modules) allows unauthorized job worker substitution.\n\nThe handle_event(\"save-job\", ...) handler in Oban.Web.Jobs.DetailComponent does not perform an authorization check, unlike the sibling cancel, delete, and retry handlers which all verify the caller's privileges via can?/2. An authenticated user with :read_only access can push a forged save-job LiveView WebSocket event to overwrite a job's worker field with any other existing Oban.Worker module in the application. On the job's next execution attempt, Oban will invoke perform/1 on the attacker-chosen module instead of the intended one.\n\nThis issue affects oban_web: from 2.12.0 before 2.12.5.","source":"cvelist"},{"lang":"en","text":"### Summary\n\n`oban_web` 2.12.0 through the current unpatched release exposes a `save-job` LiveView event handler that performs no authorization check, allowing any authenticated user (including those with `:read_only` access) to overwrite a queued job's `worker` field with any other `Oban.Worker` module present in the application. On the job's next execution attempt, Oban dispatches `perform/1` on the attacker-chosen module instead of the intended one.\n\n### Details\n\nIn `lib/oban/web/live/jobs/detail_component.ex`, the sibling event handlers for destructive actions all gate their side effects via `can?/2` (cancel, delete, retry). The `handle_event(\"save-job\", params, socket)` clause added in 2.12.0 has no equivalent guard. It builds a `changes` map from the client-supplied params (including `worker`, `queue`, `priority`, `max_attempts`, `scheduled_at`, `tags`, `args`) and unconditionally dispatches `{:update_job, job, changes}` to the parent LiveView, which writes the changes to the database.\n\nThe `disabled` attribute on the edit fieldset and button in the rendered HTML is advisory only. The Phoenix LiveView channel dispatches any `phx-event` pushed over the authenticated WebSocket regardless of what the DOM looks like, so the attacker pushes the event directly over the WebSocket without touching the UI.\n\nThe attacker is constrained to substituting an existing `Oban.Worker` module already loaded in the application (no code injection). The impact depends on what workers are available in the target application.\n\n### PoC\n\n1. Obtain an authenticated session with at minimum `:read_only` access to the Oban.Web dashboard.\n2. Open any job's detail panel to obtain its job ID.\n3. Push a forged `save-job` event over the LiveView WebSocket with `\"worker\"` set to the desired target module name.\n4. The server accepts the payload and updates the job row. On its next execution attempt, Oban invokes `perform/1` on the attacker-chosen module.\n\n### Impact\n\nCVSS 4.0 score 5.3 (Medium). Any application running `oban_web` >= 2.12.0 that exposes the dashboard to users with less than full job-management privileges is affected. The only precondition is an authenticated session with `:read_only` access or higher.\n\n## References\n\n* Introduction commit: https://github.com/oban-bg/oban_web/commit/a17bc8c31286c9d516e2892cf5483d1c95e65d6c\n* Patch commit: https://github.com/oban-bg/oban_web/commit/ab3c5d1d3eba06c62045f16f2cd7781c7752e248","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Summary\n\nMissing Authorization vulnerability in oban-bg oban_web (`Oban.Web.Jobs.DetailComponent` modules) allows unauthorized job worker substitution.\n\nThe `handle_event(\"save-job\", ...)` handler in `Oban.Web.Jobs.DetailComponent` does not perform an authorization check, unlike the sibling `cancel`, `delete`, and `retry` handlers which all verify the caller's privileges via `can?/2`. An authenticated user with `:read_only` access can push a forged `save-job` LiveView WebSocket event to overwrite a job's `worker` field with any other existing `Oban.Worker` module in the application. On the job's next execution attempt, Oban will invoke `perform/1` on the attacker-chosen module instead of the intended one.\n\nThis issue affects oban_web: from 2.12.0 before 2.12.5.\n\n## Configurations\n\nThe Oban.Web dashboard must be deployed and accessible to users with less than full job-management privileges (e.g. `:read_only`).","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de autorización faltante en oban-bg oban_web (módulos 'Elixir.Oban.Web.Jobs.DetailComponent') permite la sustitución no autorizada del trabajador de tareas.\n\nEl gestor handle_event(\"save-job\", ...) en 'Elixir.Oban.Web.Jobs.DetailComponent' no realiza una verificación de autorización, a diferencia de los gestores hermanos de cancelación, eliminación y reintento, los cuales todos verifican los privilegios del llamador a través de can?/2. Un usuario autenticado con acceso de :solo_lectura puede enviar un evento WebSocket forjado de LiveView de save-job para sobrescribir el campo de trabajador de una tarea con cualquier otro módulo Oban.Worker existente en la aplicación. En el siguiente intento de ejecución de la tarea, Oban invocará perform/1 en el módulo elegido por el atacante en lugar del previsto.\n\nEste problema afecta a oban_web: desde 2.12.0 antes de 2.12.5.","source":"nvd"}],"published":"2026-05-26T19:46:48.611Z","modified":"2026-11-25T17:23:13.338Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"2.12.0","fixed":"2.12.5","status":"affected"}],"vendor":"oban-bg","product":"oban_web","package":"oban_web","cpe":"cpe:2.3:a:oban_web_project:oban_web:*:*:*:*:*:*:*:*","repo":"https://github.com/oban-bg/oban_web","source":"cvelist"},{"ranges":[{"type":"git","introduced":"a17bc8c31286c9d516e2892cf5483d1c95e65d6c","fixed":"ab3c5d1d3eba06c62045f16f2cd7781c7752e248","status":"affected"}],"vendor":"oban-bg","product":"oban_web","package":"oban-bg/oban_web","cpe":"cpe:2.3:a:oban_web_project:oban_web:*:*:*:*:*:*:*:*","repo":"https://github.com/oban-bg/oban_web","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.12.0","status":"affected","fixed":"2.12.5"}],"ecosystem":"Hex","package":"oban_web","purl":"pkg:hex/oban_web","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.12.0","status":"affected","fixed":"2.12.5"}],"ecosystem":"Hex","package":"oban_web","purl":"pkg:hex/oban_web","source":"eef"},{"ranges":[{"type":"git","introduced":"a17bc8c31286c9d516e2892cf5483d1c95e65d6c","status":"affected","fixed":"ab3c5d1d3eba06c62045f16f2cd7781c7752e248"}],"repo":"https://github.com/oban-bg/oban_web","source":"eef"}],"references":[{"url":"https://github.com/oban-bg/oban_web/security/advisories/GHSA-389x-rgxr-8m33","tags":["advisory","related","vendor-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48592.html","tags":["related","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48592","tags":["related","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/oban-bg/oban_web/commit/a17bc8c31286c9d516e2892cf5483d1c95e65d6c","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/oban-bg/oban_web/commit/ab3c5d1d3eba06c62045f16f2cd7781c7752e248","tags":["fix","patch","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48592","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/oban-bg/oban_web","tags":["package"],"sources":["ghsa"]},{"url":"https://hex.pm/packages/oban_web","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Parker Selbert"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-26T20:46:44.585Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48592","url":"https://www.cve.org/CVERecord?id=CVE-2026-48592","licence":"CVE Terms of Use","modified":"2026-11-20T08:26:53.139Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-389x-rgxr-8m33","url":"https://github.com/advisories/GHSA-389x-rgxr-8m33","licence":"CC-BY-4.0","modified":"2026-06-30T18:45:32.158Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-48592","url":"https://osv.dev/vulnerability/EEF-CVE-2026-48592","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:13.338Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48592","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48592","licence":"Public domain","modified":"2026-11-20T09:20:11.400Z"}],"updatedAt":"2026-11-25T22:59:22.387Z","epss":{"score":0.005,"percentile":0.44442,"date":"2026-12-01T12:00:22.000Z"}}