{"id":"CVE-2026-78230","aliases":["CVE-2026-78230","EEF-CVE-2026-78230","GHSA-v5rw-36x5-r5vx"],"related":[],"kind":"vulnerability","state":"published","title":"AshAi aggregate tool can read field-policy-protected fields","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAshAi 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.\n\n## Configurations\n\nReachable 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).","format":"markdown","source":"eef"}],"published":"2026-09-08T16:41:45.975Z","modified":"2026-11-26T17:23:10.418Z","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-1220"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"1.0.3","status":"affected"}],"vendor":"ash-project","product":"ash_ai","package":"ash_ai","cpe":"cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_ai","source":"cvelist"},{"ranges":[{"type":"git","introduced":"2ba234b50946a3b8116190c8467f9f4dfa5edce7","fixed":"9c02de581625c342c9870a672830bff28c1d701e","status":"affected"}],"vendor":"ash-project","product":"ash_ai","package":"ash-project/ash_ai","cpe":"cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_ai","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"1.0.3"}],"ecosystem":"Hex","package":"ash_ai","purl":"pkg:hex/ash_ai","source":"eef"},{"ranges":[{"type":"git","introduced":"2ba234b50946a3b8116190c8467f9f4dfa5edce7","status":"affected","fixed":"9c02de581625c342c9870a672830bff28c1d701e"}],"repo":"https://github.com/ash-project/ash_ai","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-v5rw-36x5-r5vx","tags":["advisory","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-78230.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-78230","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_ai/commit/2ba234b50946a3b8116190c8467f9f4dfa5edce7","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_ai/commit/9c02de581625c342c9870a672830bff28c1d701e","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_ai","tags":["package"],"sources":["eef"]}],"credits":["Aaron Hong / Remedy","Jonatan Männchen / EEF","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-08T17:33:49.017Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-78230","url":"https://www.cve.org/CVERecord?id=CVE-2026-78230","licence":"CVE Terms of Use","modified":"2026-11-19T08:32:00.381Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-78230","url":"https://osv.dev/vulnerability/EEF-CVE-2026-78230","licence":"CC-BY-4.0","modified":"2026-11-26T17:23:10.418Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-78230","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78230","licence":"Public domain","modified":"2026-09-08T19:29:09.680Z"}],"updatedAt":"2026-11-26T17:37:07.953Z","epss":{"score":0.00246,"percentile":0.1696,"date":"2026-12-01T12:00:22.000Z"}}