Skip to content
OpenAdvisories

Package · Hex

ash_ai

8 known vulnerabilities.

8 results · Feed

  • Medium 5.3

    AshAi sends unrecognized tool errors verbatim to MCP clients and the model, disclosing internal details

    Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai allows a caller of an AshAi tool to read internal error details, including module names and data values, by making a tool call fail. AshAi.ToToolError gained an i…

  • Medium 6.0

    AshAi aggregate tool can read field-policy-protected fields

    AshAi exposes Ash read actions to language-model tool calls. The read tool accepts an aggregate result type (min, max, sum, avg) that builds an ad-hoc Ash.Query.Aggregate over a named field and returns its raw value. Ash field policies redact forbidden fields…

  • High 7.1

    AshAi vectorize change leaks raw embedding-provider errors, including credentials, in a user-facing error

    Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai discloses provider request state and credentials in a user-facing validation error. In AshAi.Changes.Vectorize, when the embedding provider call fails the change …

  • Medium 5.3

    AshAi echoes raw tool exception messages into the conversation, disclosing internal details

    Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai discloses internal error text to chat users. In AshAi.ToolLoop and AshAi.Tools, an exception raised while executing a tool was serialized verbatim with Exception.…

  • Medium 6.0

    AshAi tool loop never terminates when all tool calls are filtered out, enabling denial of service

    Loop with Unreachable Exit Condition (Infinite Loop) vulnerability in ash-project ash_ai allows an attacker who can influence a model's output to hang the tool loop and drive unbounded, repeated model requests. AshAi.ToolLoop classifies a model response of :t…

  • High 7.1

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

    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 …

  • High 7.4

    MCP DNS-rebinding origin check in AshAi is bypassed by a spoofed X-Forwarded-Proto header

    Origin Validation Error vulnerability in ash-project ash_ai allows a malicious web page to bypass the MCP server's DNS-rebinding protection and issue cross-site requests to a user's local MCP server with that user's actor. In AshAi.Mcp.Server, with the defaul…

  • High 8.9

    EEx template evaluation of prompt content in AshAi enables remote code execution

    Improper Control of Generation of Code (Code Injection) vulnerability in ash-project ash_ai allows a remote, unauthenticated client to execute arbitrary Elixir code. AshAi.Actions.Prompt evaluates prompt content through EEx.eval_string/2. The documented promp…