# CVE-2026-119613: AshAi sends unrecognized tool errors verbatim to MCP clients and the model, disclosing internal details


- **Severity:** Medium 5.3 (`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`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 9 Nov 2026
- **Updated:** 12 Nov 2026
- **Also known as:** EEF-CVE-2026-119613, GHSA-vhmw-fwrr-r6c6

## What is CVE-2026-119613?

CVE-2026-119613 is a medium-severity vulnerability in ash-project ash_ai, published on 9 Nov 2026. 

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

Weakness: CWE-209 (Generation of Error Message Containing Sensitive Information)

## Which versions are affected by CVE-2026-119613?

1 open source package ship an affected version, including ash_ai.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `ash_ai` | Hex | From 1.5.0 | 1.5.1 |

## How do I fix CVE-2026-119613?

Upgrade ash_ai to 1.5.1 or later.

## Is CVE-2026-119613 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-119613 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-119613 and fix it if it is affected.

What it is: CVE-2026-119613 is a medium-severity vulnerability in ash-project ash_ai, published on 9 Nov 2026. 
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-119613 exists.

Affected packages and fixed versions:
- ash_ai (Hex): affected from 1.5.0; fixed in 1.5.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-119613/ (Markdown: https://insights.sbomify.com/CVE-2026-119613/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-119613
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-119613
- OSV: https://osv.dev/vulnerability/CVE-2026-119613

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-119613/
Summaries are generated and may contain mistakes; the official description above is the record.
