{"id":"EEF-CVE-2026-82564","aliases":["CVE-2026-82564","GHSA-jg86-xh36-h5xc"],"title":"Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records","titleSource":"EEF","descriptionSource":"OSV","description":"## 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.","severity":"high","score":7.1,"published":"2026-08-31T01:06:00.526Z","modified":"2026-11-25T06:31:04.130Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"ash_ai","sources":[{"name":"OSV · EEF-CVE-2026-82564","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82564"}],"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"],"fixed":["1.0.0"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"bc2122f78fca6c11d8ec2b9ac53148ec17476460"},{"fixed":"87f616d5bfbf7af43346f0701ae17f853789a602"}],"type":"GIT","repo":"https://github.com/ash-project/ash_ai"}],"versions":["v0.8.2","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.1","v0.6.0"]}],"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/bc2122f78fca6c11d8ec2b9ac53148ec17476460","https://github.com/ash-project/ash_ai/commit/87f616d5bfbf7af43346f0701ae17f853789a602","https://hex.pm/packages/ash_ai"],"sources":[{"name":"CVE","id":"CVE-2026-82564","modified":"2026-11-19T08:39:39.864Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-82564"},{"name":"OSV","id":"EEF-CVE-2026-82564","modified":"2026-11-25T06:31:04.130388445Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82564"}],"assessments":[{"source":"EEF","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},{"source":"OSV","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}],"cve":{"records":[{"id":"CVE-2026-82564","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-30T20:00:01.856Z","published":"2026-08-31T01:06:00.526Z","modified":"2026-11-19T08:39:39.864Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:39:39.864Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-08-31T16:05:10.950Z"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-82564.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82564","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_ai/commit/87f616d5bfbf7af43346f0701ae17f853789a602","tags":["patch"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc","tags":["exploit"],"source":"CISA-ADP"}],"weaknesses":[{"id":"CWE-639","description":"CWE-639 Authorization Bypass Through User-Controlled Key","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"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"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-08-31T16:04:09.440960Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ash-project","name":"ash_ai","platforms":[],"versions":[{"version":"0.6.0","status":"affected","lessThan":"1.0.0","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/ash_ai","packageIdentity":{"ecosystem":"Hex","name":"ash_ai"},"cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82564"},{"vendor":"ash-project","name":"ash_ai","platforms":[],"versions":[{"version":"bc2122f78fca6c11d8ec2b9ac53148ec17476460","status":"affected","lessThan":"87f616d5bfbf7af43346f0701ae17f853789a602","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ash-project/ash_ai","cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82564"}],"remediation":[],"observedAt":"2026-11-25T07:18:06.031Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T01:30:31.339Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-19T10:05:33.450Z","attemptedAt":"2026-11-19T10:05:33.450Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-19T10:00:36.579Z","attemptedAt":"2026-11-19T10:00:36.579Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-19T10:00:37.106Z","attemptedAt":"2026-11-19T10:00:37.106Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-19T10:00:36.744Z","attemptedAt":"2026-11-19T10:00:36.744Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-82564","url":"https://www.first.org/epss/","probability":0.0054,"percentile":0.46125,"date":"2026-11-18","checkedAt":"2026-11-19T10:00:36.744Z"},{"source":"ENISA EUVD","id":"EUVD-2026-68306","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-68306","modified":"Nov 19, 2026, 8:39:39 AM","score":7.1,"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","checkedAt":"2026-11-19T10:00:37.106Z"},{"source":"NVD","id":"CVE-2026-82564","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82564","modified":"2026-11-19T09:18:04.640","score":7.1,"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/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","checkedAt":"2026-11-19T10:05:33.450Z"}],"aiSummary":null}