{"id":"CVE-2026-48593","aliases":["CVE-2026-48593","GHSA-6xh2-93p9-vqh4","EEF-CVE-2026-48593"],"related":[],"kind":"vulnerability","state":"published","title":"Unbounded range expansion in cron describe causes memory exhaustion in oban_web","summary":"Uncontrolled Resource Consumption vulnerability in oban-bg oban_web (Oban.Web.CronExpr modules) allows memory exhaustion via unbounded cron range expansion.\n\nAn attacker with access to schedule cron jobs can submit a malicious cron expression such as \"0 0 1-100000000 * *\". When a user with dashboard access views the cron job list, Oban.Web.CronExpr.describe/1 is called to render the expression. parse_range/2 parses both range endpoints via Integer.parse/1 with no bounds check, and the downstream helpers expand_dom_parts/1 and expand_dow_parts/1 materialise the range eagerly via Enum.to_list/1, causing allocation of ~2.4 GB and stalling or crashing the BEAM node. A sibling helper extract_dom_values already validates range bounds, but the expansion helpers do not.\n\nThis issue affects oban_web: from 2.12.0 before 2.12.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Uncontrolled Resource Consumption vulnerability in oban-bg oban_web (Oban.Web.CronExpr modules) allows memory exhaustion via unbounded cron range expansion.\n\nAn attacker with access to schedule cron jobs can submit a malicious cron expression such as \"0 0 1-100000000 * *\". When a user with dashboard access views the cron job list, Oban.Web.CronExpr.describe/1 is called to render the expression. parse_range/2 parses both range endpoints via Integer.parse/1 with no bounds check, and the downstream helpers expand_dom_parts/1 and expand_dow_parts/1 materialise the range eagerly via Enum.to_list/1, causing allocation of ~2.4 GB and stalling or crashing the BEAM node. A sibling helper extract_dom_values already validates range bounds, but the expansion helpers do not.\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 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","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Summary\n\nUncontrolled Resource Consumption vulnerability in oban-bg oban_web (`Oban.Web.CronExpr` modules) allows memory exhaustion via unbounded cron range expansion.\n\nAn attacker with access to schedule cron jobs can submit a malicious cron expression such as `\"0 0 1-100000000 * *\"`. When a user with dashboard access views the cron job list, `Oban.Web.CronExpr.describe/1` is called to render the expression. `parse_range/2` parses both range endpoints via `Integer.parse/1` with no bounds check, and the downstream helpers `expand_dom_parts/1` and `expand_dow_parts/1` materialise the range eagerly via `Enum.to_list/1`, causing allocation of ~2.4 GB and stalling or crashing the BEAM node. A sibling helper `extract_dom_values` already validates range bounds, but the expansion helpers do not.\n\nThis issue affects oban_web: from 2.12.0 before 2.12.5.\n\n## Configurations\n\nThe vulnerability is exploitable when an attacker with access to schedule cron jobs submits a malicious cron expression. The crash is triggered when a user with dashboard access views the cron job list, which calls `Oban.Web.CronExpr.describe/1` to render the expression.","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de consumo de recursos no controlado en oban-bg oban_web (módulos 'Elixir.Oban.Web.CronExpr') permite el agotamiento de la memoria a través de la expansión ilimitada del rango cron.\n\nUn atacante con acceso para programar trabajos cron puede enviar una expresión cron maliciosa como '0 0 1-100000000 * *'. Cuando un usuario con acceso al panel de control ve la lista de trabajos cron, se llama a 'Elixir.Oban.Web.CronExpr':describe/1 para renderizar la expresión. parse_range/1 analiza ambos puntos finales del rango a través de Integer.parse/1 sin verificación de límites, y los ayudantes posteriores expand_dom_parts/1 y expand_dow_parts/1 materializan el rango de forma ávida a través de Enum.to_list/1, causando una asignación de ~2.4 GB y el estancamiento o caída del nodo BEAM. Un ayudante hermano extract_dom_values ya valida los límites del rango, pero los ayudantes de expansión no lo hacen.\n\nEste problema afecta a oban_web: desde 2.12.0 antes de 2.12.5.","source":"nvd"}],"published":"2026-05-26T19:46:43.980Z","modified":"2026-11-25T17:23:13.338Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-400"],"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":"a97c7960bb389b05aaab4cf8042985f02ceddc24","fixed":"9998b7e284e02fdd4645dd6231760038e63b584d","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":"a97c7960bb389b05aaab4cf8042985f02ceddc24","status":"affected","fixed":"9998b7e284e02fdd4645dd6231760038e63b584d"}],"repo":"https://github.com/oban-bg/oban_web","source":"eef"}],"references":[{"url":"https://github.com/oban-bg/oban_web/security/advisories/GHSA-6xh2-93p9-vqh4","tags":["advisory","related","vendor-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48593.html","tags":["related","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48593","tags":["related","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/oban-bg/oban_web/commit/a97c7960bb389b05aaab4cf8042985f02ceddc24","tags":["related","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://github.com/oban-bg/oban_web/commit/9998b7e284e02fdd4645dd6231760038e63b584d","tags":["fix","patch","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48593","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","Shannon Selbert"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-26T20:46:18.908Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48593","url":"https://www.cve.org/CVERecord?id=CVE-2026-48593","licence":"CVE Terms of Use","modified":"2026-11-20T08:28:56.999Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6xh2-93p9-vqh4","url":"https://github.com/advisories/GHSA-6xh2-93p9-vqh4","licence":"CC-BY-4.0","modified":"2026-06-30T18:45:32.157Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-48593","url":"https://osv.dev/vulnerability/EEF-CVE-2026-48593","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:13.338Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48593","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48593","licence":"Public domain","modified":"2026-11-20T09:20:11.593Z"}],"updatedAt":"2026-11-25T22:59:22.388Z","epss":{"score":0.00417,"percentile":0.37976,"date":"2026-12-02T12:00:21.000Z"}}