Skip to main content

ash_ai EUVDEUVD-2026-68308

| CVE-2026-82580 MEDIUM
Error Message Information Leak (CWE-209)
2026-08-31 EEF
5.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to chat interface
  2. Delivery
    Enumerate exposed tool names and parameter schemas
  3. Exploit
    Submit arguments crafted to trigger exception in tool callback
  4. Execution
    Receive raw exception text relayed by LLM
  5. Impact
    Extract DB schema, SQL, or policy internals for further reconnaissance

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK

1 technique across 1 tactic: Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold an authenticated session with access to the AI chat interface (CVSS PR:L). The ash_ai deployment must be running a version in the range 0.6.0 to below 1.0.0. At least one registered tool callback or Ash lifecycle hook must be capable of raising an exception whose Exception.message/1 output contains sensitive internal text - most commonly when callbacks interact with Ecto (producing SQL and schema details in errors), invoke Ash authorization policies (embedding policy module names), or call adapters that surface diagnostic context in exceptions. The attacker must be able to steer tool input arguments into the raising code path, which typically requires knowing or discovering valid tool names and parameter schemas exposed by the application. This vulnerability does not affect ash_ai deployments that do not expose tool-calling functionality to end users, or where the chat interface is restricted to fully privileged internal operators with no information-disclosure risk. No special network position, exploit payload, or prior system access beyond an authenticated chat session is required.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N) accurately characterizes a moderate, network-accessible information-disclosure risk: no special attack conditions are required beyond holding authenticated access to the chat interface. EPSS data was not provided in the input, so no empirical exploitation-probability estimate is available; likelihood is therefore inferred from CVSS metrics alone. The CVE is not in CISA KEV and no public POC repository has been identified, meaning no confirmed active exploitation or weaponized exploit code is known at time of analysis. The practical impact ceiling is bounded: successful exploitation yields partial internal reconnaissance (schema, SQL, policy names) rather than credentials, tokens, or full data extraction. The exploitability is constrained by the requirement for an authenticated session and the need to identify a tool invocation that can be steered into a raising code path - opportunistic automated exploitation is unlikely. Integrity and availability impacts do not apply. The CVSS score is consistent with the description; no conflicting signals were observed in the available data.

Exploit ScenarioDerived

An authenticated user of an ash_ai-powered chat application identifies a database search or resource-query tool and submits arguments crafted to trigger an Ecto constraint violation - for example, referencing a non-existent column or violating a unique index. The tool callback raises an Ecto exception whose message includes the raw SQL and internal table name (e.g., 'column "password_hash" does not exist. query: SELECT ... FROM "internal"."users"'); Exception.message/1 serializes this verbatim into the JSON tool result, which the model relays to the user. The attacker now holds schema and table-name intelligence suitable for reconnaissance of further SQL injection or privilege escalation paths. No public exploit code has been identified.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

Unfiltered exception serialization in ash_ai 0.6.0-0.x leaks internal application details - database schema, raw SQL fragments, policy module names - to authenticated chat users via the LLM conversation stream. AshAi.ToolLoop and AshAi.Tools used Elixir's Exception.message/1 verbatim to encode any raised tool exception into the tool-result payload, which the language model then relayed to the requesting user. Any authenticated user able to steer tool arguments into a code path that raises an exception could extract sensitive internal reconnaissance data; ash_ai 1.0.0 closes the gap by routing all tool exceptions through a safe formatter. No public exploit code and no CISA KEV listing have been identified at time of analysis.

RemediationAI

Upgrade ash_ai to version 1.0.0 or later, which applies commit c68dfbdb220426dc015b58379e95bde8e9f0995a. This commit replaces Exception.message/1 with AshAi.Tool.Errors.format/1 in both AshAi.ToolLoop and AshAi.Tools, and eliminates the inspect/1 catch-all path in tools.ex. The vendor advisory at https://github.com/ash-project/ash_ai/security/advisories/GHSA-5747-6mpw-6m9c is the authoritative remediation reference. If immediate upgrade is not feasible, the most actionable compensating control is to restrict the AI chat interface to fully trusted internal operators only - this reduces the pool of principals who could trigger exception-leaking tool calls, though it does not eliminate the vulnerability. A secondary compensating measure is to audit each registered tool callback and Ash lifecycle hook to ensure exceptions are caught, sanitized, and returned as generic errors before reaching the tool-result layer; this is operationally fragile and should be treated as a temporary measure only. Neither workaround substitutes for patching.

Affected VersionsENISA

ash_ai 0.6.0 <1.0.0
ash_ai bc2122f78fca6c11d8ec2b9ac53148ec17476460 <c68dfbdb220426dc015b58379e95bde8e9f0995a

Affected Packages

euvd ash_ai fix: 1.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ash_ai is an Elixir library (CPE: cpe:2.3:a:ash-project:ash_ai) that integrates LLM and AI capabilities into applications built on the Ash resource framework. The root cause is CWE-209 (Generation of Error Message Containing Sensitive Information). Two modules were affected: AshAi.ToolLoop (tool_loop.ex) and AshAi.Tools (tools.ex). Both used Exception.message/1 to serialize any exception raised during tool callback or lifecycle hook execution into a JSON-encoded tool-result string, which was appended to the ongoing conversation as a {:tool_result, ...} stream event and forwarded to the model. Because Ash adapters (primarily Ecto) and Ash authorization policies embed rich diagnostic context in exception messages - table names, column names, raw SQL, policy module paths - these details were injected verbatim into the chat thread. The patch (commit c68dfbdb) substitutes AshAi.Tool.Errors.format/1 for Exception.message/1 in both modules, and replaces the catch-all inspect/1 fallback in tools.ex with the static string 'Tool execution failed', eliminating all raw exception propagation paths.

Know when Ash Ai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

Network-reachable via chat interface requiring only an authenticated session (PR:L); confidentiality impact is partial (internal error text only); no integrity or availability effect applies.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.message/1 into the tool-result content. That content is appended to the conversation, emitted as a {:tool_result, ...} stream event, and sent back to the model, which typically relays it to the user. No filtering happened first, so anything raised inside a tool callback or lifecycle hook (database constraint messages, adapter errors, query fragments, policy or validation internals) was echoed as-is. A chat user who can steer tool arguments into a raising code path receives the raw internal text. The fix routes raised tool errors through the same safe formatter used for other tool errors.

This issue affects ash_ai: from 0.6.0 before 1.0.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche Elixir AI-integration library within a specialized framework ecosystem
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy