CVE-2026-48592: Oban web Oban_web Missing Authorization Check On Vulnerability

MODERATE
Advisory Identifier: GHSA-389x-rgxr-8m33
CWE-862
Published
Advisory Summary

CVE-2026-48592 is a MODERATE oban_web missing authorization check on vulnerability (CWE-862: Missing Authorization) affecting Oban web libraries in the Hex ecosystem. The issue involves oban_web missing authorization check on `save-job` event handler. Remediation is available by upgrading affected packages to version 2.12.5.

CVE-2026-48592 at a Glance

CVE Identifier CVE-2026-48592
GHSA Identifier GHSA-389x-rgxr-8m33
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-862: Missing Authorization
Affected Product Oban web
Package Ecosystem Hex
Published Date
Last Updated

How to Fix CVE-2026-48592

To remediate this vulnerability, upgrade all affected Oban web dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

oban_web fixed: 2.12.5
Upgrade oban_web to 2.12.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for oban_web

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-48592, inspect your project dependencies for Oban web:

inspect dependencies for oban_web

Analyze the terminal output to locate any version of Oban web in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.12.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Oban web, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary `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. ### Details In `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. The `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. The 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. ### PoC 1. Obtain an authenticated session with at minimum `:read_only` access to the Oban.Web dashboard. 2. Open any job's detail panel to obtain its job ID. 3. Push a forged `save-job` event over the LiveView WebSocket with `"worker"` set to the desired target module name. 4. The server accepts the payload and updates the job row. On its next execution attempt, Oban invokes `perform/1` on the attacker-chosen module. ### Impact CVSS 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. ## References * Introduction commit: https://github.com/oban-bg/oban_web/commit/a17bc8c31286c9d516e2892cf5483d1c95e65d6c * Patch commit: https://github.com/oban-bg/oban_web/commit/ab3c5d1d3eba06c62045f16f2cd7781c7752e248

CVE-2026-48592 Affected Oban web Versions

1 component(s)
Fixed Versions:
2.12.5
Product / Package Ecosystem Affected Versions Fixed Version
oban_web
Hex
≥ 2.12.0
< 2.12.5
2.12.5

References

Frequently Asked Questions

What is CVE-2026-48592?
CVE-2026-48592 is a security vulnerability in Oban web involving oban_web missing authorization check on `save-job` event handler under CWE-862: Missing Authorization.
Which Oban web versions are affected?
Affected versions include releases prior to 2.12.5 across affected packages: oban_web.
What version fixes CVE-2026-48592?
Upgrading to 2.12.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is oban_web affected?
Yes, oban_web is affected in releases prior to 2.12.5. Upgrade your dependency to 2.12.5 or later.
What CWE is associated with CVE-2026-48592?
CVE-2026-48592 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Hex dependencies for CVE-2026-48592?
Run the dependency tree command: 'inspect dependencies for oban_web'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-389x-rgxr-8m33",
  "modified" : "2026-06-30T18:33:20Z",
  "published" : "2026-06-30T18:33:20Z",
  "aliases" : [ "CVE-2026-48592" ],
  "summary" : "oban_web missing authorization check on `save-job` event handler",
  "details" : "### 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",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Hex",
      "name" : "oban_web"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.12.0"
      }, {
        "fixed" : "2.12.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/oban-bg/oban_web/security/advisories/GHSA-389x-rgxr-8m33"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-48592"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/oban-bg/oban_web/commit/ab3c5d1d3eba06c62045f16f2cd7781c7752e248"
  }, {
    "type" : "WEB",
    "url" : "https://cna.erlef.org/cves/CVE-2026-48592.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/oban-bg/oban_web"
  }, {
    "type" : "WEB",
    "url" : "https://osv.dev/vulnerability/EEF-CVE-2026-48592"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-30T18:33:20Z",
    "nvd_published_at" : "2026-05-26T21:16:41Z"
  }
}