CVE-2026-137159
MEDIUM 5.9CVSS 4.0Atomic 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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Received
- Weakness
- CWE-863
- Also known as
- EEF-CVE-2026-137159GHSA-hg4m-9gg5-r5hj
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-137159JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | MEDIUM 5.9 | 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 |
| CVE List | EEF | CVSS 4.0 | MEDIUM 5.9 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | ashcpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:* |
>= 2.17.20, < 3.39.0 | 3.39.0 |
| CVE List | https://github.com | ash-project/ashcpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:* |
>= fe2156a9ac9e49cae44132552ce6e52aee14104c, < 83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1 | 83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1 |
| OSV | Hex | ash | >= 2.17.20, < 3.39.0 | 3.39.0 |
References
- https://cna.erlef.org/cves/CVE-2026-137159.html · related, WEB
- https://github.com/ash-project/ash/commit/83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1 · patch, FIX
- https://github.com/ash-project/ash/commit/fe2156a9ac9e49cae44132552ce6e52aee14104c · related, WEB
- https://github.com/ash-project/ash/security/advisories/GHSA-hg4m-9gg5-r5hj · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-137159 · related
- https://hex.pm/packages/ash · PACKAGE
History
- 3 Dec 2026 06:37 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 06:07 UTC · OSV: first stored (published 3 Dec 2026)
- 3 Dec 2026 06:07 UTC · CVE List: first stored (published 3 Dec 2026)