VDB
Sign up

EEF-CVE-2026-82564

Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records

Quick fix

EEF-CVE-2026-82564 — ash_ai: upgrade to the fixed version with the command below.

mix deps.update ash_ai

Details

## 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.

In 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.

This issue affects ash\_ai: from 0.6.0 before 1.0.0.

Are you affected?

Enter the version of the package you're using.

Affected packages

Hex/ash_ai
Introduced in: 0.6.0Fixed in: 1.0.0
Fixmix deps.update ash_ai

References