CVE-2026-78038 PUBLISHED

Job argument injection via :args overrides primary_key and tenant in AshOban

Assigner: EEF
Reserved: 28.08.2026 Published: 30.08.2026 Updated: 30.08.2026

Improperly 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.

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.

This issue affects ash_oban: from 0.2.5 before 0.8.14.

Metrics

CVSS Vector: 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
CVSS Score: 5.9

Product Status

Vendor ash-project
Product ash_oban
Versions Default: unaffected
  • affected from 0.2.5 to 0.8.14 (excl.)
Vendor ash-project
Product ash_oban
Versions Default: unaffected
  • affected from ce079229ecdf0d323da2b554f30fc569e54660f0 to da2d81e1e8e1dcc3e6ec8587cdb4f273575ffca3 (excl.)

Affected Configurations

An 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.

Credits

  • Peter Ullrich finder
  • Peter Ullrich reporter
  • Zach Daniel / Ash Project remediation developer
  • Jonatan Männchen / EEF coordinator

References

Problem Types

  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes CWE

Impacts

  • CAPEC-77 Manipulating User-Controlled Variables