# CVE-2026-101028: Ash.count, Ash.exists and Ash.aggregate skip related resources' read policies in filters and sorts

- Severity: Medium 6.0 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-09T07:01:06.470Z
- Modified: 2026-11-25T06:30:17.007Z
- Also known as: EEF-CVE-2026-101028, GHSA-xj24-8f5c-pp5p
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## Description

Incorrect Authorization vulnerability in ash-project ash allows an actor to infer data in related records they cannot read via Ash.count/2, Ash.exists/2 and Ash.aggregate/3.

Ash.Actions.Aggregate.run/4 (lib/ash/actions/aggregate.ex) applied only the root resource's read policy before running the aggregate query. The read path also applies each related resource's read policy to filter and sort references that cross a relationship, directly (for example comments.body) or through an aggregate over one, but the aggregate path skipped that step. A caller whose filter or sort reaches these functions, for example through Ash.Query.filter_input/2, an ash_lua script, or an AshAi tool offering count or exists results, can test conditions against related rows hidden from them and recover their existence and attribute values one query at a time. Ash.read/2 and its page counts are not affected.

This issue affects ash: from 2.6.0 before 3.34.6.

(As written by CVE List.)

## Affected

- ash: from 2.6.0 before 3.34.6
- ash-project/ash: from 30eaf1c6e8524527b703e3c4bfeff7967ee0b37c before 80936187b27ee94f15cd875affd3141b5cb23185
- ash (Hex): from 2.6.0 before 3.34.6
- https://github.com/ash-project/ash: from 30eaf1c6e8524527b703e3c4bfeff7967ee0b37c before 80936187b27ee94f15cd875affd3141b5cb23185

## Every score

- EEF: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-101028.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-101028> (related)
- <https://github.com/ash-project/ash/commit/30eaf1c6e8524527b703e3c4bfeff7967ee0b37c> (related, web)
- <https://github.com/ash-project/ash/commit/80936187b27ee94f15cd875affd3141b5cb23185> (fix, patch)
- <https://hex.pm/packages/ash> (package)

## Sources

- CVE List: [CVE-2026-101028](https://www.cve.org/CVERecord?id=CVE-2026-101028), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-101028](https://osv.dev/vulnerability/EEF-CVE-2026-101028), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-101028](https://nvd.nist.gov/vuln/detail/CVE-2026-101028), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-101028 · Whole record: https://cve.day/CVE-2026-101028.json · Rebuilt by cve.day 2026-11-25T22:59:43.273Z
