CVE-2026-137159: Atomic bulk update and destroy in Ash skip the read policies of related records in the filter, disclosing them through which rows change

Published Dec 3, 2026
·
Updated

Incorrect Authorization vulnerability in ash-project ash allows an actor to learn about related records they cannot read from which rows an atomic bulk update or destroy changes.

Ash.Actions.Update.Bulk (lib/ash/actions/update/bulk.ex) and Ash.Actions.Destroy.Bulk (lib/ash/actions/destroy/bulk.ex) authorized the query of an atomic bulk update or destroy with the resource's own read policy, but did not add the read policies of the related records its filter references. A read of the same query adds them, for relationship references from Ash.Query.filterinput/2 and for aggregates. A caller who controls the filter could therefore match rows on related data they cannot read, one condition at a time. The rows changed are rows the caller may change anyway.

This issue affects ash: from 2.17.20 before 3.39.0.

Affected Software

1 affected component
hex/ash>=2.17.20<3.39.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.39.0

Event History

Dec 3, 2026
CVE Published
via MITRE·05:57 AM
Data Sourced
via MITRE·05:57 AM
DescriptionWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203