{"id":"EEF-CVE-2026-78038","summary":"Job argument injection via :args overrides primary_key and tenant in AshOban","details":"## Summary\n\nImproperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in ash-project ash_oban allows a user whose input reaches the `:args` option of `AshOban.build_trigger/3` to retarget an update or destroy trigger at another record, including across tenants.\n\n`build_trigger/3` builds the trusted job arguments with atom keys (`:primary_key`, `:tenant`, `:action_arguments`) and merges the caller's `:args` underneath so the trusted values win on collision. Because Oban job arguments round-trip through JSON, the caller's keys arrive as strings, so `Map.merge` sees no collision and both keys survive. When the job is persisted the JSON object is de-duplicated keeping the last (string) key, and the worker reads the caller's value. The documentation describes `:args` as unable to affect the action, so an application that forwards user input into it for uniqueness scoping is exposed to authorization bypass and tenant isolation breaks.\n\nThis issue affects ash_oban: from 0.2.5 before 0.8.14.\n\n## Configurations\n\nAn application must pass untrusted input into the `:args` option of `AshOban.build_trigger/3` (or an equivalent scheduling helper), on a trigger whose action is an update or destroy, so that an injected `primary_key`, `tenant`, or `action_arguments` retargets the enqueued job.","aliases":["CVE-2026-78038","GHSA-gj9p-x393-rf9h"],"modified":"2026-09-08T03:30:07.742820325Z","published":"2026-08-30T11:50:21.136Z","database_specific":{"capec_ids":["CAPEC-77"],"cpe_ids":["cpe:2.3:a:ash-project:ash_oban:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-915"]},"references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_oban/security/advisories/GHSA-gj9p-x393-rf9h"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-78038.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_oban/commit/da2d81e1e8e1dcc3e6ec8587cdb4f273575ffca3"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_oban"}],"affected":[{"package":{"name":"ash_oban","ecosystem":"Hex","purl":"pkg:hex/ash_oban"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.5"},{"fixed":"0.8.14"}]}],"versions":["0.2.5","0.2.6","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.4.0","0.4.1","0.4.10","0.4.11","0.4.12","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.5.0","0.5.1","0.6.0","0.7.0","0.7.1","0.7.2","0.8.0-rc.0","0.8.0-rc.1","0.8.1","0.8.10","0.8.11","0.8.12","0.8.13","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.8.7","0.8.8","0.8.9"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-78038.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_oban","events":[{"introduced":"ce079229ecdf0d323da2b554f30fc569e54660f0"},{"fixed":"da2d81e1e8e1dcc3e6ec8587cdb4f273575ffca3"}]}],"versions":["v0.8.13","v0.8.12","v0.8.11","v0.8.10","v0.8.9","v0.8.8","v0.8.7","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0-rc.1","v0.8.0-rc.0","v0.7.2","v0.7.1","v0.7.0","v0.6.0","v0.5.1","v0.5.0","v0.4.12","v0.4.11","v0.4.10","v0.4.9","v0.4.8","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.6"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-78038.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N"}],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}]}