Every CVESearch/Get API key

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)

Explain with AI
ChatGPTClaudeGoogle AI
Severity
5.9Medium
Local attack, no privileges, no user interactionCVSS 4.0, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.18% in 30 days
Percentile8th
EPSS, scored
Listed fix
3.39.0 for ash
From 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:N

Exploit chance over time

Unchanged since Dec 3, 2026
EPSS score 0.18% every day from Dec 3, 2026 to Dec 4, 2026.

Affected

Packages 1

Affected packages
PackageAffectedFixed
ash
Hex
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 less
2.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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Changes recorded by Every CVE
DayChangedSources
ReferencesOSV
ReferencesOSV
Other IDs, published dateEUVD, OSV
SeverityNVD
Affected packages, other IDs, key facts, referencesOSV
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open