{"id":"CVE-2026-78230","state":"PUBLISHED","title":"AshAi aggregate tool can read field-policy-protected fields","description":"AshAi exposes Ash read actions to language-model tool calls. The read tool accepts an aggregate result type (min, max, sum, avg) that builds an ad-hoc Ash.Query.Aggregate over a named field and returns its raw value.\n\nAsh field policies redact forbidden fields on returned records (replacing them with %Ash.ForbiddenField{}), but that redaction does not apply to aggregate values. A tool caller could therefore read a field the calling actor's field policies forbid by requesting it as an aggregate; min/max in particular return an actual field value. This includes fields that are public? true but restricted per-actor by a field policy, such as sensitive PII. The tool's existing check only required the field to be public, which is a separate axis from per-actor field-policy authorization.\n\nThe fix authorizes the aggregated field against the resource's field policies, so aggregating over a field the actor may not see is refused or scoped to the rows where it is visible.\n\nThis issue affects ash_ai: from 0.1.0 before 1.0.3.","publishedAt":"2026-09-08T16:41:45.975Z","updatedAt":"2026-09-08T17:33:57.604Z","severity":{"score":6,"label":"Medium","version":"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","source":"EEF"},"assigner":"EEF","products":["ash-project ash_ai"],"affected":[{"vendor":"ash-project","product":"ash_ai","packageName":"ash_ai","packageURL":"pkg:hex/ash_ai","defaultStatus":"unaffected","versions":[{"version":"0.1.0","status":"affected","lessThan":"1.0.3","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAi.Tool.Execution'"],"programFiles":["lib/ash_ai/tool/execution.ex"],"programRoutines":[{"name":"'Elixir.AshAi.Tool.Execution':execute_read/4"}],"repo":"https://github.com/ash-project/ash_ai"},{"vendor":"ash-project","product":"ash_ai","packageName":"ash-project/ash_ai","packageURL":"pkg:github/ash-project/ash_ai","defaultStatus":"unaffected","versions":[{"version":"2ba234b50946a3b8116190c8467f9f4dfa5edce7","status":"affected","lessThan":"9c02de581625c342c9870a672830bff28c1d701e","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAi.Tool.Execution'"],"programFiles":["lib/ash_ai/tool/execution.ex"],"programRoutines":[{"name":"'Elixir.AshAi.Tool.Execution':execute_read/4"}],"repo":"https://github.com/ash-project/ash_ai"}],"references":["https://github.com/ash-project/ash_ai/security/advisories/GHSA-v5rw-36x5-r5vx","https://cna.erlef.org/cves/CVE-2026-78230.html","https://osv.dev/vulnerability/EEF-CVE-2026-78230","https://github.com/ash-project/ash_ai/commit/2ba234b50946a3b8116190c8467f9f4dfa5edce7","https://github.com/ash-project/ash_ai/commit/9c02de581625c342c9870a672830bff28c1d701e"],"weaknesses":["CWE-1220"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/78xxx/CVE-2026-78230.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-78230","state":"PUBLISHED","datePublished":"2026-09-08T16:41:45.975Z","dateUpdated":"2026-09-08T17:33:57.604Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-31T00:45:02.439Z"},"containers":{"cna":{"title":"AshAi aggregate tool can read field-policy-protected fields","descriptions":[{"lang":"en","value":"AshAi exposes Ash read actions to language-model tool calls. The read tool accepts an aggregate result type (min, max, sum, avg) that builds an ad-hoc Ash.Query.Aggregate over a named field and returns its raw value.\n\nAsh field policies redact forbidden fields on returned records (replacing them with %Ash.ForbiddenField{}), but that redaction does not apply to aggregate values. A tool caller could therefore read a field the calling actor's field policies forbid by requesting it as an aggregate; min/max in particular return an actual field value. This includes fields that are public? true but restricted per-actor by a field policy, such as sensitive PII. The tool's existing check only required the field to be public, which is a separate axis from per-actor field-policy authorization.\n\nThe fix authorizes the aggregated field against the resource's field policies, so aggregating over a field the actor may not see is refused or scoped to the rows where it is visible.\n\nThis issue affects ash_ai: from 0.1.0 before 1.0.3."}],"affected":[{"vendor":"ash-project","product":"ash_ai","packageName":"ash_ai","packageURL":"pkg:hex/ash_ai","defaultStatus":"unaffected","versions":[{"version":"0.1.0","status":"affected","lessThan":"1.0.3","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAi.Tool.Execution'"],"programFiles":["lib/ash_ai/tool/execution.ex"],"programRoutines":[{"name":"'Elixir.AshAi.Tool.Execution':execute_read/4"}],"repo":"https://github.com/ash-project/ash_ai"},{"vendor":"ash-project","product":"ash_ai","packageName":"ash-project/ash_ai","packageURL":"pkg:github/ash-project/ash_ai","defaultStatus":"unaffected","versions":[{"version":"2ba234b50946a3b8116190c8467f9f4dfa5edce7","status":"affected","lessThan":"9c02de581625c342c9870a672830bff28c1d701e","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAi.Tool.Execution'"],"programFiles":["lib/ash_ai/tool/execution.ex"],"programRoutines":[{"name":"'Elixir.AshAi.Tool.Execution':execute_read/4"}],"repo":"https://github.com/ash-project/ash_ai"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-v5rw-36x5-r5vx","name":"GHSA-v5rw-36x5-r5vx","tags":["vendor-advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-78230.html","name":"EEF CNA record for CVE-2026-78230","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-78230","name":"OSV record EEF-CVE-2026-78230","tags":["related"]},{"url":"https://github.com/ash-project/ash_ai/commit/2ba234b50946a3b8116190c8467f9f4dfa5edce7","name":"Introducing commit 2ba234b in ash-project/ash_ai","tags":["related"]},{"url":"https://github.com/ash-project/ash_ai/commit/9c02de581625c342c9870a672830bff28c1d701e","name":"Fix commit 9c02de5 in ash-project/ash_ai","tags":["patch"]}],"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-1220","description":"CWE-1220 Insufficient Granularity of Access Control","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-08T16:41:45.975Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Reachable only when an application exposes an AshAi read tool over a resource whose field policies restrict a field that the calling actor can still name as an aggregate (for example a <code>public? true</code> but field-policy-protected attribute).</p>"},{"base64":false,"type":"text/markdown","value":"Reachable only when an application exposes an AshAi read tool over a resource whose field policies restrict a field that the calling actor can still name as an aggregate (for example a `public? true` but field-policy-protected attribute)."}],"value":"Reachable only when an application exposes an AshAi read tool over a resource whose field policies restrict a field that the calling actor can still name as an aggregate (for example a public? true but field-policy-protected attribute)."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.3","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"finder","value":"Aaron Hong / Remedy"}],"dateAssigned":"2026-09-08T15:44:25.000Z","impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","value":"CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-08T17:33:49.017554Z","id":"CVE-2026-78230","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-08T17:33:57.604Z"}}]}}}