{"id":"CVE-2026-82580","published":"2026-08-31T01:09:00Z","modified":"2026-11-19T08:39:28Z","title":"AshAi echoes raw tool exception messages into the conversation, disclosing internal details","vendor":"ash-project","product":"ash_ai","tier":"tail","description":{"text":"Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai discloses internal error text to chat users.\n\nIn 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.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00466,"percentile":0.32394,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-5747-6mpw-6m9c","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82580.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82580","tags":["related"]},{"url":"https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460","tags":["related"]},{"url":"https://github.com/ash-project/ash_ai/commit/c68dfbdb220426dc015b58379e95bde8e9f0995a","tags":["patch"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":6.48},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"ash-project","affectedVersions":[{"vendor":"ash-project","product":"ash_ai","versions":[">= 0.6.0, < 1.0.0"]},{"vendor":"ash-project","product":"ash_ai","versions":[">= bc2122f78fca6c11d8ec2b9ac53148ec17476460, < c68dfbdb220426dc015b58379e95bde8e9f0995a"]}],"capec":[{"id":"CAPEC-54","name":"Query System for Information"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-31T16:06:20.887459Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-68308","exploited":false,"provenance":"source"}}