{"id":"CVE-2026-82564","aliases":["CVE-2026-82564","EEF-CVE-2026-82564","GHSA-jg86-xh36-h5xc"],"related":[],"kind":"vulnerability","state":"published","title":"Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records","summary":"Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash_ai allows a caller of an identity-configured tool to update or destroy records it never identified, including every row in the table.\n\nIn AshAi.Tool.Execution, identity_filter/3 built the update/destroy filter directly from the raw tool arguments as [{key, Map.get(arguments, to_string(key))}] and passed it to Ash.Query.do_filter/2. A map value is parsed as a predicate expression rather than a literal, so a caller can send {\"public_ref\": {\"not_eq\": \"<own-ref>\"}} and, combined with Ash.Query.limit(1) and Ash.bulk_update!/Ash.bulk_destroy!, retarget the write at a record it never identified; an omitted key yields an IS NULL filter that matches an arbitrary row. The fix casts each identity value to the field type, rejecting non-scalar inputs.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash_ai allows a caller of an identity-configured tool to update or destroy records it never identified, including every row in the table.\n\nIn AshAi.Tool.Execution, identity_filter/3 built the update/destroy filter directly from the raw tool arguments as [{key, Map.get(arguments, to_string(key))}] and passed it to Ash.Query.do_filter/2. A map value is parsed as a predicate expression rather than a literal, so a caller can send {\"public_ref\": {\"not_eq\": \"<own-ref>\"}} and, combined with Ash.Query.limit(1) and Ash.bulk_update!/Ash.bulk_destroy!, retarget the write at a record it never identified; an omitted key yields an IS NULL filter that matches an arbitrary row. The fix casts each identity value to the field type, rejecting non-scalar inputs.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAuthorization Bypass Through User-Controlled Key vulnerability in ash-project ash_ai allows a caller of an `identity`-configured tool to update or destroy records it never identified, including every row in the table.\n\nIn `AshAi.Tool.Execution`, `identity_filter/3` built the update/destroy filter directly from the raw tool arguments as `[{key, Map.get(arguments, to_string(key))}]` and passed it to `Ash.Query.do_filter/2`. A map value is parsed as a predicate expression rather than a literal, so a caller can send `{\"public_ref\": {\"not_eq\": \"<own-ref>\"}}` and, combined with `Ash.Query.limit(1)` and `Ash.bulk_update!`/`Ash.bulk_destroy!`, retarget the write at a record it never identified; an omitted key yields an `IS NULL` filter that matches an arbitrary row. The fix casts each identity value to the field type, rejecting non-scalar inputs.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0.","format":"markdown","source":"eef"}],"published":"2026-08-31T01:06:00.526Z","modified":"2026-11-25T06:31:04.130Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"type":"semver","introduced":"0.6.0","fixed":"1.0.0","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":"bc2122f78fca6c11d8ec2b9ac53148ec17476460","fixed":"87f616d5bfbf7af43346f0701ae17f853789a602","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.6.0","status":"affected","fixed":"1.0.0"}],"ecosystem":"Hex","package":"ash_ai","purl":"pkg:hex/ash_ai","source":"eef"},{"ranges":[{"type":"git","introduced":"bc2122f78fca6c11d8ec2b9ac53148ec17476460","status":"affected","fixed":"87f616d5bfbf7af43346f0701ae17f853789a602"}],"repo":"https://github.com/ash-project/ash_ai","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82564.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82564","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_ai/commit/87f616d5bfbf7af43346f0701ae17f853789a602","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_ai","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-31T16:04:09.440Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82564","url":"https://www.cve.org/CVERecord?id=CVE-2026-82564","licence":"CVE Terms of Use","modified":"2026-11-19T08:39:39.864Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82564","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82564","licence":"CC-BY-4.0","modified":"2026-11-25T06:31:04.130Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82564","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82564","licence":"Public domain","modified":"2026-11-19T09:18:04.640Z"}],"updatedAt":"2026-11-25T22:59:35.787Z","epss":{"score":0.00465,"percentile":0.41939,"date":"2026-12-01T12:00:22.000Z"}}