{"id":"CVE-2026-82580","aliases":["CVE-2026-82580","EEF-CVE-2026-82580","GHSA-5747-6mpw-6m9c"],"related":[],"kind":"vulnerability","state":"published","title":"AshAi echoes raw tool exception messages into the conversation, disclosing internal details","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nGeneration 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.","format":"markdown","source":"eef"}],"published":"2026-08-31T01:09:00.192Z","modified":"2026-11-25T06:31:04.121Z","severity":{"scorer":"EEF","scheme":"CVSS: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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS: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","score":5.3,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS: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"}],"cwes":["CWE-209"],"affected":[{"ranges":[{"type":"semver","introduced":"0.6.0","fixed":"1.0.0","status":"affected"}],"vendor":"ash-project","product":"ash_ai","package":"ash_ai","cpe":"cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_ai","source":"cvelist"},{"ranges":[{"type":"git","introduced":"bc2122f78fca6c11d8ec2b9ac53148ec17476460","fixed":"c68dfbdb220426dc015b58379e95bde8e9f0995a","status":"affected"}],"vendor":"ash-project","product":"ash_ai","package":"ash-project/ash_ai","cpe":"cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_ai","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.6.0","status":"affected","fixed":"1.0.0"}],"ecosystem":"Hex","package":"ash_ai","purl":"pkg:hex/ash_ai","source":"eef"},{"ranges":[{"type":"git","introduced":"bc2122f78fca6c11d8ec2b9ac53148ec17476460","status":"affected","fixed":"c68dfbdb220426dc015b58379e95bde8e9f0995a"}],"repo":"https://github.com/ash-project/ash_ai","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-5747-6mpw-6m9c","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82580.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82580","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_ai/commit/c68dfbdb220426dc015b58379e95bde8e9f0995a","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_ai","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-31T16:06:20.887Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82580","url":"https://www.cve.org/CVERecord?id=CVE-2026-82580","licence":"CVE Terms of Use","modified":"2026-11-19T08:39:28.281Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82580","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82580","licence":"CC-BY-4.0","modified":"2026-11-25T06:31:04.121Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82580","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82580","licence":"Public domain","modified":"2026-11-19T09:18:05.000Z"}],"updatedAt":"2026-11-25T22:59:35.788Z","epss":{"score":0.0034,"percentile":0.29511,"date":"2026-12-01T12:00:22.000Z"}}