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 (Hex)
- Severity
- 5.9MediumLocal attack, no privileges, no user interactionCVSS 4.0, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.18% in 30 daysPercentile8thEPSS, scored
- Listed fix
3.39.0for ashFrom OSV
Overview
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.filter_input/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.
CVSS 4.0 vector
Exploitability
- Attack vector
- Local
- Complexity
- Low
- Attack requirements
- Present
- Privileges needed
- None
- User interaction
- None
Impact on the vulnerable system
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Impact on subsequent systems
- Confidentiality
- None
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploit chance over time
Affected
Packages 1
| Package | Affected | Fixed |
|---|---|---|
ashHex | 2.17.20 up to 3.39.0, plus listed versions 2.17.212.17.222.17.232.17.242.18.0 Show 45 more versionsShow less2.18.12.18.22.19.02.19.12.19.102.19.112.19.122.19.132.19.142.19.22.19.32.19.42.19.52.19.62.19.72.19.82.19.92.20.02.20.12.20.22.20.32.21.02.21.12.21.102.21.112.21.122.21.132.21.142.21.152.21.22.21.32.21.42.21.52.21.62.21.72.21.82.21.93.0.03.0.0-rc.03.0.0-rc.13.0.0-rc.103.0.0-rc.113.0.0-rc.123.0.0-rc.133.0.0-rc.14 | 3.39.0 |
The JSON record also has 305 more versions.
Products 1
Sources
CVE List Score usedCVSS 4.05.9
Atomic bulk update and destroy in Ash skip the read policies of related records in the filter, disclosing them through which rows change
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.filter_input/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.
- Record
CVE-2026-137159- CVSS 4.0
- 5.9 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-863
- Updated
- 2026-12-04
EUVDEUVD-2026-142385CVSS 4.05.9
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.filter_input/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.
- Record
EUVD-2026-142385- CVSS 4.0
- 5.9 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Updated
- 2026-12-03
NVDCVSS 4.05.9
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.filter_input/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.
- Record
CVE-2026-137159- CVSS 4.0
- 5.9 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-863
- Updated
- 2026-12-04
OSVCVSS 4.05.9
Atomic bulk update and destroy in Ash skip the read policies of related records in the filter, disclosing them through which rows change
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.filter_input/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.
- Record
CVE-2026-137159- CVSS 4.0
- 5.9 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-863
- Updated
- 2026-12-03
OSVEEF-CVE-2026-137159CVSS 4.05.9
Atomic bulk update and destroy in Ash skip the read policies of related records in the filter, disclosing them through which rows change
Summary
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.filter_input/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.
Impact
A caller who controls the filter of an atomic bulk update or destroy tests conditions against related records hidden from them and recovers their existence and attribute values from which rows change.
Workarounds
On 3.5.0 and later, pass strategy: :stream, which reads the records with the related read policies applied.
Configurations
Reachable when a caller controls the filter of a query given to Ash.bulk_update/4 or Ash.bulk_destroy/4, or to a code interface, through Ash.Query.filter_input/2 or a filter on an aggregate, and the call allows the :atomic strategy, which is the default for a query.
- Record
EEF-CVE-2026-137159- CVSS 4.0
- 5.9 Medium
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-863
- Updated
- 2026-12-03
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| References | OSV | |
| References | OSV | |
| Other IDs, published date | EUVD, OSV | |
| Severity | NVD | |
| Affected packages, other IDs, key facts, references | OSV | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/ash-project/ash/security/advisories/GHSA-hg4m-9gg5-r5hj
cna.erlef.org/cves/CVE-2026-137159.html
osv.dev/vulnerability/EEF-CVE-2026-137159
github.com/ash-project/ash/commit/fe2156a9ac9e49cae44132552ce6e52aee14104c
github.com/ash-project/ash/commit/83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1
github.com
repo.hex.pm
github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137159.json
nvd.nist.gov/vuln/detail/CVE-2026-137159
github.com/ash-project/ash
hex.pm/packages/ash