{"affected":[{"package":{"ecosystem":"Hex","name":"ash_ai","purl":"pkg:hex/ash_ai"},"ranges":[{"events":[{"introduced":"0.6.0"},{"fixed":"1.0.0"}],"type":"SEMVER"}],"versions":["0.6.0","0.6.1","0.7.0","0.7.1","0.7.2","0.7.3","0.8.0","0.8.1","0.8.2"]},{"ranges":[{"events":[{"introduced":"bc2122f78fca6c11d8ec2b9ac53148ec17476460"},{"fixed":"87f616d5bfbf7af43346f0701ae17f853789a602"}],"repo":"https://github.com/ash-project/ash_ai","type":"GIT"}]}],"aliases":["GHSA-jg86-xh36-h5xc","CVE-2026-82564"],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Jonatan Männchen / EEF / EEF","type":"REMEDIATION_DEVELOPER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_REVIEWER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}],"database_specific":{"capec_ids":["CAPEC-77"],"cpe_ids":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-639"]},"details":"## 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.","id":"EEF-CVE-2026-82564","modified":"2026-08-31T01:06:00.886837Z","published":"2026-08-31T01:06:00.526Z","references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82564.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_ai/commit/87f616d5bfbf7af43346f0701ae17f853789a602"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_ai"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"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","type":"CVSS_V4"}],"summary":"Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records","upstream":[]}