{"id":"CVE-2026-101028","aliases":["CVE-2026-101028","EEF-CVE-2026-101028","GHSA-xj24-8f5c-pp5p"],"related":[],"kind":"vulnerability","state":"published","title":"Ash.count, Ash.exists and Ash.aggregate skip related resources' read policies in filters and sorts","summary":"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.\n\nAsh.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.\n\nThis issue affects ash: from 2.6.0 before 3.34.6.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAsh.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.\n\nThis issue affects ash: from 2.6.0 before 3.34.6.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nIncorrect 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`.\n\n`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.\n\nThis issue affects ash: from 2.6.0 before 3.34.6.\n\n## Configurations\n\nReachable only when an application passes caller-supplied filters or sorts that cross a relationship into `Ash.count/2`, `Ash.exists/2` or `Ash.aggregate/3` (directly, through ash_lua read operations, or through AshAi count, exists or aggregate result types), and a related resource's read policy is stricter than the root resource's.","format":"markdown","source":"eef"}],"published":"2026-10-09T07:01:06.470Z","modified":"2026-11-25T06:30:17.007Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"2.6.0","fixed":"3.34.6","status":"affected"}],"vendor":"ash-project","product":"ash","package":"ash","cpe":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash","source":"cvelist"},{"ranges":[{"type":"git","introduced":"30eaf1c6e8524527b703e3c4bfeff7967ee0b37c","fixed":"80936187b27ee94f15cd875affd3141b5cb23185","status":"affected"}],"vendor":"ash-project","product":"ash","package":"ash-project/ash","cpe":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.6.0","status":"affected","fixed":"3.34.6"}],"ecosystem":"Hex","package":"ash","purl":"pkg:hex/ash","source":"eef"},{"ranges":[{"type":"git","introduced":"30eaf1c6e8524527b703e3c4bfeff7967ee0b37c","status":"affected","fixed":"80936187b27ee94f15cd875affd3141b5cb23185"}],"repo":"https://github.com/ash-project/ash","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-101028.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-101028","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash/commit/30eaf1c6e8524527b703e3c4bfeff7967ee0b37c","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash/commit/80936187b27ee94f15cd875affd3141b5cb23185","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash","tags":["package"],"sources":["eef"]}],"credits":["Glenn Rempe","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-10-09T18:03:54.666Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-101028","url":"https://www.cve.org/CVERecord?id=CVE-2026-101028","licence":"CVE Terms of Use","modified":"2026-11-19T08:22:04.405Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-101028","url":"https://osv.dev/vulnerability/EEF-CVE-2026-101028","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:17.007Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-101028","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-101028","licence":"Public domain","modified":"2026-10-09T18:17:01.197Z"}],"updatedAt":"2026-11-25T22:59:43.273Z","epss":{"score":0.00341,"percentile":0.29605,"date":"2026-12-01T12:00:22.000Z"}}