CVE-2026-48593: oban_web Unbounded Range Expansion Vulnerability

MODERATE
Advisory Identifier: GHSA-6xh2-93p9-vqh4
CWE-400
Published
Advisory Summary

CVE-2026-48593 is a MODERATE unbounded range expansion vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting oban_web libraries in the Hex ecosystem. The issue involves unbounded range expansion in cron describe causes memory exhaustion. Remediation is available by upgrading affected packages to version 2.12.5.

CVE-2026-48593 at a Glance

CVE Identifier CVE-2026-48593
GHSA Identifier GHSA-6xh2-93p9-vqh4
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product oban_web
Package Ecosystem Hex
Published Date
Last Updated

How to Fix CVE-2026-48593

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-48593, 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. 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 introduced a cron expression parser that expands `-`-separated ranges without validating the endpoints. An attacker with access to schedule cron jobs can submit a malicious expression; when any user with dashboard access views the cron job list, `Oban.Web.CronExpr.describe/1` is called to render it, triggering allocation of gigabytes of memory and stalling or crashing the BEAM node. ### Details **1. Scheduling:** The attacker submits a cron job with a malicious expression such as `"0 0 1-100000000 * *"`. No special privilege is required beyond the ability to schedule cron jobs. **2. Parsing:** When the cron list is rendered in the dashboard, `describe/1` calls `parse_range/1` in `lib/oban/web/cron_expr.ex`, which calls `Integer.parse/1` on both endpoints of the range with no bounds check, returning `{:range, start_val, end_val}` for any integers. **3. Eager expansion:** `expand_dom_parts/1` and `expand_dow_parts/1` materialise the range via `Enum.to_list(start_val..end_val)`. The input above produces ~100 million integers (~2.4 GB). A sibling helper `extract_dom_values` already validates range bounds, but the expansion helpers do not. ### PoC 1. Schedule a cron job with expression `"0 0 1-100000000 * *"` (or any expression with an out-of-domain range). 2. Have any user with Oban.Web dashboard access navigate to the cron job list. 3. The dashboard calls `describe/1` to render the expression, exhausting BEAM memory and crashing the node. ### Impact CVSS 4.0 score 5.9 (Medium). Affects `oban_web` >= 2.12.0. Requires the ability to schedule a cron job and a dashboard user to view the cron list; no further privileges are needed. ### References * Introduction commit: https://github.com/oban-bg/oban_web/commit/a97c7960bb389b05aaab4cf8042985f02ceddc24 * Patch commit: https://github.com/oban-bg/oban_web/commit/9998b7e284e02fdd4645dd6231760038e63b584d

CVE-2026-48593 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-48593?
CVE-2026-48593 is a security vulnerability in oban_web involving Unbounded range expansion in cron describe causes memory exhaustion under CWE-400: Uncontrolled Resource Consumption.
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-48593?
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-48593?
CVE-2026-48593 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Hex dependencies for CVE-2026-48593?
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-6xh2-93p9-vqh4",
  "modified" : "2026-06-30T18:32:49Z",
  "published" : "2026-06-30T18:32:49Z",
  "aliases" : [ "CVE-2026-48593" ],
  "summary" : "oban_web: Unbounded range expansion in cron describe causes memory exhaustion",
  "details" : "### Summary\n\n`oban_web` 2.12.0 introduced a cron expression parser that expands `-`-separated ranges without validating the endpoints. An attacker with access to schedule cron jobs can submit a malicious expression; when any user with dashboard access views the cron job list, `Oban.Web.CronExpr.describe/1` is called to render it, triggering allocation of gigabytes of memory and stalling or crashing the BEAM node.\n\n### Details\n\n**1. Scheduling:** The attacker submits a cron job with a malicious expression such as `\"0 0 1-100000000 * *\"`. No special privilege is required beyond the ability to schedule cron jobs.\n\n**2. Parsing:** When the cron list is rendered in the dashboard, `describe/1` calls `parse_range/1` in `lib/oban/web/cron_expr.ex`, which calls `Integer.parse/1` on both endpoints of the range with no bounds check, returning `{:range, start_val, end_val}` for any integers.\n\n**3. Eager expansion:** `expand_dom_parts/1` and `expand_dow_parts/1` materialise the range via `Enum.to_list(start_val..end_val)`. The input above produces ~100 million integers (~2.4 GB). A sibling helper `extract_dom_values` already validates range bounds, but the expansion helpers do not.\n\n### PoC\n\n1. Schedule a cron job with expression `\"0 0 1-100000000 * *\"` (or any expression with an out-of-domain range).\n2. Have any user with Oban.Web dashboard access navigate to the cron job list.\n3. The dashboard calls `describe/1` to render the expression, exhausting BEAM memory and crashing the node.\n\n### Impact\n\nCVSS 4.0 score 5.9 (Medium). Affects `oban_web` >= 2.12.0. Requires the ability to schedule a cron job and a dashboard user to view the cron list; no further privileges are needed.\n\n### References\n\n* Introduction commit: https://github.com/oban-bg/oban_web/commit/a97c7960bb389b05aaab4cf8042985f02ceddc24\n* Patch commit: https://github.com/oban-bg/oban_web/commit/9998b7e284e02fdd4645dd6231760038e63b584d",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/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-6xh2-93p9-vqh4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-48593"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/oban-bg/oban_web/commit/9998b7e284e02fdd4645dd6231760038e63b584d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/oban-bg/oban_web/commit/a97c7960bb389b05aaab4cf8042985f02ceddc24"
  }, {
    "type" : "WEB",
    "url" : "https://cna.erlef.org/cves/CVE-2026-48593.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/oban-bg/oban_web"
  }, {
    "type" : "WEB",
    "url" : "https://osv.dev/vulnerability/EEF-CVE-2026-48593"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-30T18:32:49Z",
    "nvd_published_at" : "2026-05-26T21:16:41Z"
  }
}