ash_ai is vulnerable to Improper Access Control
71
High Risk
The identity_filter logic in AshAi.Tool.Execution builds an Ash query filter directly from client-supplied JSON arguments. Because map values are interpreted as predicate expressions rather than literal values, a nested operator map such as one using not_eq turns an equality lookup into an arbitrary comparison. Combined with a limit and bulk update or destroy actions, this lets a caller retarget writes to records they should not reach and modify or delete arbitrary rows. The fix pins argument values as literals so identity lookups enforce exact equality.
You are affected if you are using a version that falls within the vulnerable range and you expose tools that perform identity-based record lookups with update or destroy actions to untrusted callers.
ash_ai is vulnerable to Improper Access Control in versions 0.6.0 - 0.8.2.
Upgrade the ash_ai library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.