{"id":"CVE-2026-82564","state":"PUBLISHED","title":"Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records","description":"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.","publishedAt":"2026-08-31T01:06:00.526Z","updatedAt":"2026-09-01T17:18:18.459Z","severity":{"score":7.1,"label":"High","version":"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","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.6.0","status":"affected","lessThan":"1.0.0","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':identity_filter/3"}],"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":"bc2122f78fca6c11d8ec2b9ac53148ec17476460","status":"affected","lessThan":"87f616d5bfbf7af43346f0701ae17f853789a602","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':identity_filter/3"}],"repo":"https://github.com/ash-project/ash_ai"}],"references":["https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc","https://cna.erlef.org/cves/CVE-2026-82564.html","https://osv.dev/vulnerability/EEF-CVE-2026-82564","https://github.com/ash-project/ash_ai/commit/87f616d5bfbf7af43346f0701ae17f853789a602"],"weaknesses":["CWE-639"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/82xxx/CVE-2026-82564.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82564","state":"PUBLISHED","datePublished":"2026-08-31T01:06:00.526Z","dateUpdated":"2026-09-01T17:18:18.459Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-30T20:00:01.856Z"},"containers":{"cna":{"title":"Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ash-project","product":"ash_ai","packageName":"ash_ai","packageURL":"pkg:hex/ash_ai","defaultStatus":"unaffected","versions":[{"version":"0.6.0","status":"affected","lessThan":"1.0.0","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':identity_filter/3"}],"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":"bc2122f78fca6c11d8ec2b9ac53148ec17476460","status":"affected","lessThan":"87f616d5bfbf7af43346f0701ae17f853789a602","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':identity_filter/3"}],"repo":"https://github.com/ash-project/ash_ai"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82564.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82564","tags":["related"]},{"url":"https://github.com/ash-project/ash_ai/commit/87f616d5bfbf7af43346f0701ae17f853789a602","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","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:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","description":"CWE-639 Authorization Bypass Through User-Controlled Key","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-01T17:18:18.459Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.0","versionStartIncluding":"0.6.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation reviewer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"impacts":[{"capecId":"CAPEC-77","descriptions":[{"lang":"en","value":"CAPEC-77 Manipulating User-Controlled Variables"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-31T16:04:09.440960Z","id":"CVE-2026-82564","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-31T16:05:10.950Z"}}]}}}