{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-78230","id":"CVE-2026-78230","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","descriptionLong":"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.","published":"2026-09-08T16:41:45.975Z","updated":"2026-11-19T09:45:21.931523534Z","reserved":"2026-08-31T00:45:02.439Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":6,"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","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":6,"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","rating":"medium","source":"EEF"},{"version":"4.0","score":6,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"}],"rating":"medium","products":["ash-project ash_ai"],"affectedProducts":[{"vendor":"ash-project","product":"ash_ai","defaultStatus":"unaffected","versions":[{"lessThan":"1.0.3","status":"affected","version":"0.1.0","versionType":"semver"}],"platforms":[]},{"vendor":"ash-project","product":"ash_ai","defaultStatus":"unaffected","versions":[{"lessThan":"9c02de581625c342c9870a672830bff28c1d701e","status":"affected","version":"2ba234b50946a3b8116190c8467f9f4dfa5edce7","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-1220"],"aliases":["EEF-CVE-2026-78230","GHSA-v5rw-36x5-r5vx"],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-v5rw-36x5-r5vx","tags":["vendor-advisory","advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-78230.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-78230","tags":["related","web"]},{"url":"https://github.com/ash-project/ash_ai/commit/2ba234b50946a3b8116190c8467f9f4dfa5edce7","tags":["related","fix"]},{"url":"https://github.com/ash-project/ash_ai/commit/9c02de581625c342c9870a672830bff28c1d701e","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78230.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78230","tags":["advisory"]},{"url":"https://github.com/ash-project/ash_ai","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00427,"epssPercentile":0.37733,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-78230","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78230","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-78230","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-78230","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}