{"id":"CVE-2026-78228","aliases":["CVE-2026-78228","EEF-CVE-2026-78228","GHSA-94p7-498r-mrhp"],"related":[],"kind":"vulnerability","state":"published","title":"Unbounded handle_error recursion enables denial of service in AshOban triggers","summary":"Uncontrolled Recursion vulnerability in ash-project ash_oban allows a user who can drive a trigger's on_error action to fail on the final attempt to exhaust worker CPU and memory, denying service.\n\nThe generated worker's atomic handle_error/4 runs the trigger's on_error action on a job's final attempt inside a rescue that, when the action itself raises, calls handle_error/4 again with the same job. The job's attempt still equals max_attempts, so it re-enters the same clause and re-runs the failing action, with no exit. Any deterministic on_error failure (a data-layer outage, a misconfigured action, or a record the action rejects) loops forever; because the recursive call is not in tail position, each iteration retains a formatted stacktrace and the process heap grows without bound while the failing statement is re-issued against the data layer until the runtime kills the worker.\n\nThis issue affects ash_oban: from 0.8.0-rc.1 before 0.8.14.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Uncontrolled Recursion vulnerability in ash-project ash_oban allows a user who can drive a trigger's on_error action to fail on the final attempt to exhaust worker CPU and memory, denying service.\n\nThe generated worker's atomic handle_error/4 runs the trigger's on_error action on a job's final attempt inside a rescue that, when the action itself raises, calls handle_error/4 again with the same job. The job's attempt still equals max_attempts, so it re-enters the same clause and re-runs the failing action, with no exit. Any deterministic on_error failure (a data-layer outage, a misconfigured action, or a record the action rejects) loops forever; because the recursive call is not in tail position, each iteration retains a formatted stacktrace and the process heap grows without bound while the failing statement is re-issued against the data layer until the runtime kills the worker.\n\nThis issue affects ash_oban: from 0.8.0-rc.1 before 0.8.14.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nUncontrolled Recursion vulnerability in ash-project ash_oban allows a user who can drive a trigger's `on_error` action to fail on the final attempt to exhaust worker CPU and memory, denying service.\n\nThe generated worker's atomic `handle_error/4` runs the trigger's `on_error` action on a job's final attempt inside a `rescue` that, when the action itself raises, calls `handle_error/4` again with the same job. The job's `attempt` still equals `max_attempts`, so it re-enters the same clause and re-runs the failing action, with no exit. Any deterministic `on_error` failure (a data-layer outage, a misconfigured action, or a record the action rejects) loops forever; because the recursive call is not in tail position, each iteration retains a formatted stacktrace and the process heap grows without bound while the failing statement is re-issued against the data layer until the runtime kills the worker.\n\nThis issue affects ash_oban: from 0.8.0-rc.1 before 0.8.14.\n\n## Configurations\n\nA trigger must declare an `on_error` action and run through the atomic worker branch. An attacker needs only to drive that `on_error` action into a deterministic failure (for example by pushing the record into a state the action rejects) and let the job reach its final attempt.","format":"markdown","source":"eef"}],"published":"2026-08-30T11:51:49.621Z","modified":"2026-11-25T06:31:02.418Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/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:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":5.9,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"semver","introduced":"0.8.0-rc.1","fixed":"0.8.14","status":"affected"}],"vendor":"ash-project","product":"ash_oban","package":"ash_oban","cpe":"cpe:2.3:a:ash-project:ash_oban:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_oban","source":"cvelist"},{"ranges":[{"type":"git","introduced":"5d117ed2006df7277561c69dbfd39281da6ace9f","fixed":"851cd0e76ed882bf736fc48d10f96d037e26b5f0","status":"affected"}],"vendor":"ash-project","product":"ash_oban","package":"ash-project/ash_oban","cpe":"cpe:2.3:a:ash-project:ash_oban:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_oban","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.8.0-rc.1","status":"affected","fixed":"0.8.14"}],"ecosystem":"Hex","package":"ash_oban","purl":"pkg:hex/ash_oban","source":"eef"},{"ranges":[{"type":"git","introduced":"5d117ed2006df7277561c69dbfd39281da6ace9f","status":"affected","fixed":"851cd0e76ed882bf736fc48d10f96d037e26b5f0"}],"repo":"https://github.com/ash-project/ash_oban","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_oban/security/advisories/GHSA-94p7-498r-mrhp","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-78228.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-78228","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_oban/commit/5d117ed2006df7277561c69dbfd39281da6ace9f","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_oban/commit/851cd0e76ed882bf736fc48d10f96d037e26b5f0","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_oban","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-31T14:55:44.685Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-78228","url":"https://www.cve.org/CVERecord?id=CVE-2026-78228","licence":"CVE Terms of Use","modified":"2026-11-19T08:41:11.971Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-78228","url":"https://osv.dev/vulnerability/EEF-CVE-2026-78228","licence":"CC-BY-4.0","modified":"2026-11-25T06:31:02.418Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-78228","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78228","licence":"Public domain","modified":"2026-11-19T09:18:00.580Z"}],"updatedAt":"2026-11-25T22:59:35.761Z","epss":{"score":0.00191,"percentile":0.09172,"date":"2026-12-01T12:00:22.000Z"}}