CVE-2026-119613

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

Published Nov 9, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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 implementation for Ash.Error.Unknown.UnknownError that returns the error's error field as is, and AshAi.Tool.Errors.format/1 sends that text to MCP clients (tool calls and resource reads in AshAi.Mcp.Server) and to the model in AshAi.ToolLoop. Ash stores the full Exception.format/2 output of a raised exception, or inspect/1 of a bare {:error, term} return, in that field. A tool result that cannot be JSON-encoded raises a Protocol.UndefinedError whose text includes the inspected value, which can be a whole record with fields the tool never returns. None of these errors were logged. The fix logs them under an error id and returns only that id to the caller.

This issue affects ash_ai: from 1.5.0 before 1.5.1.

Analysis

AI-generated

Technical impact

The vulnerability in Ash Ai allows a caller to trigger internal errors that are reflected back to the client and the model in clear text. The error handling implementation exposes the full exception message, or an inspected error term, which can contain module names, data values and hidden record fields. This results in a moderate information‑disclosure flaw with a CVSS score of 5.3 and is identified as CWE‑209.

Affected Systems

ash-project:ash_ai versions earlier than 1.5.1, starting at 1.5.0, are vulnerable. The fix was introduced in release 1.5.1; all earlier releases lack the sanitization of error text.

Risk and Exploitability

An attacker can provoke a failure by invoking any tool that can be intentionally made to error, a path that is achievable through normal API use or crafted inputs. The EPSS score is currently unavailable, and the vulnerability is not listed in the CISA KEV catalog, indicating that public exploitation activity is likely limited. Nonetheless, the leak of exception details can expose sensitive internal state that might aid further compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ash‑ai to 1.5.1 or later, which replaces unfiltered error messages with a sanitized error identifier and logs detailed data internally.
  • Restrict external clients from making tool calls that could cause internal failures until the update is applied.
  • Deploy monitoring that flags any unexpected sensitive information exposure in error responses to MCP clients or the model.

Generated by OpenCVE AI on November 9, 2026 at 14:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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 implementation for Ash.Error.Unknown.UnknownError that returns the error's error field as is, and AshAi.Tool.Errors.format/1 sends that text to MCP clients (tool calls and resource reads in AshAi.Mcp.Server) and to the model in AshAi.ToolLoop. Ash stores the full Exception.format/2 output of a raised exception, or inspect/1 of a bare {:error, term} return, in that field. A tool result that cannot be JSON-encoded raises a Protocol.UndefinedError whose text includes the inspected value, which can be a whole record with fields the tool never returns. None of these errors were logged. The fix logs them under an error id and returns only that id to the caller. This issue affects ash_ai: from 1.5.0 before 1.5.1.
Title AshAi sends unrecognized tool errors verbatim to MCP clients and the model, disclosing internal details
First Time appeared Ash-project
Ash-project ash Ai
Weaknesses CWE-209
CPEs cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*
Vendors & Products Ash-project
Ash-project ash Ai
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-209

    Generation of Error Message Containing Sensitive Information

Sources

Status
PUBLISHED
Assigner
EEF
Published
Updated
Nov 19, 2026, 7:53 AM
Reserved
Oct 30, 2026, 11:45 PM
Status
Deferred
Published
Nov 9, 2026, 1:17 PM
Modified
Nov 12, 2026, 7:34 PM