{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Actions.Aggregate'","'Elixir.Ash'"],"packageName":"ash","packageURL":"pkg:hex/ash","product":"ash","programFiles":["lib/ash/actions/aggregate.ex","lib/ash.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Aggregate':run/4"},{"name":"'Elixir.Ash':count/2"},{"name":"'Elixir.Ash':exists/2"},{"name":"'Elixir.Ash':aggregate/3"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"3.34.6","status":"affected","version":"2.6.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Actions.Aggregate'","'Elixir.Ash'"],"packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","product":"ash","programFiles":["lib/ash/actions/aggregate.ex","lib/ash.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Aggregate':run/4"},{"name":"'Elixir.Ash':count/2"},{"name":"'Elixir.Ash':exists/2"},{"name":"'Elixir.Ash':aggregate/3"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"80936187b27ee94f15cd875affd3141b5cb23185","status":"affected","version":"30eaf1c6e8524527b703e3c4bfeff7967ee0b37c","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Reachable only when an application passes caller-supplied filters or sorts that cross a relationship into <code>Ash.count/2</code>, <code>Ash.exists/2</code> or <code>Ash.aggregate/3</code> (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.</p>"},{"base64":false,"type":"text/markdown","value":"Reachable 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."}],"value":"Reachable 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."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","versionEndExcluding":"3.34.6","versionStartIncluding":"2.6.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"reporter","value":"Glenn Rempe"},{"lang":"en","type":"finder","value":"Glenn Rempe"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"}],"dateAssigned":"2026-10-09T00:19:31.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Incorrect Authorization vulnerability in ash-project ash allows an actor to infer data in related records they cannot read via <code>Ash.count/2</code>, <code>Ash.exists/2</code> and <code>Ash.aggregate/3</code>.</p>\n<p><code>Ash.Actions.Aggregate.run/4</code> (<code>lib/ash/actions/aggregate.ex</code>) 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 <code>comments.body</code>) 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 <code>Ash.Query.filter_input/2</code>, 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. <code>Ash.read/2</code> and its page counts are not affected.</p>\n<p>This issue affects ash: from 2.6.0 before 3.34.6.</p>"},{"base64":false,"type":"text/markdown","value":"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\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."}],"value":"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."}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","value":"CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-09T07:01:06.470Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"GHSA-xj24-8f5c-pp5p","tags":["vendor-advisory","related"],"url":"https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p"},{"name":"EEF CNA record for CVE-2026-101028","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-101028.html"},{"name":"OSV record EEF-CVE-2026-101028","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-101028"},{"name":"Introducing commit 30eaf1c in ash-project/ash","tags":["related"],"url":"https://github.com/ash-project/ash/commit/30eaf1c6e8524527b703e3c4bfeff7967ee0b37c"},{"name":"Fix commit 8093618 in ash-project/ash","tags":["patch"],"url":"https://github.com/ash-project/ash/commit/80936187b27ee94f15cd875affd3141b5cb23185"}],"source":{"discovery":"EXTERNAL"},"title":"Ash.count, Ash.exists and Ash.aggregate skip related resources' read policies in filters and sorts"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-101028","datePublished":"2026-10-09T07:01:06.470Z","dateReserved":"2026-10-08T15:45:02.376Z","dateUpdated":"2026-10-09T07:01:06.470Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}