{"id":"EEF-CVE-2026-82580","aliases":["CVE-2026-82580","GHSA-5747-6mpw-6m9c"],"title":"AshAi echoes raw tool exception messages into the conversation, disclosing internal details","titleSource":"EEF","descriptionSource":"OSV","description":"## 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.","severity":"medium","score":5.3,"published":"2026-08-31T01:09:00.192Z","modified":"2026-11-25T06:31:04.121Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"ash_ai","sources":[{"name":"OSV · EEF-CVE-2026-82580","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82580"}],"ranges":[{"events":[{"introduced":"0.6.0"},{"fixed":"1.0.0"}],"type":"SEMVER"}],"versions":["0.6.0","0.6.1","0.7.0","0.7.1","0.7.2","0.7.3","0.8.0","0.8.1","0.8.2"],"fixed":["1.0.0"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"bc2122f78fca6c11d8ec2b9ac53148ec17476460"},{"fixed":"c68dfbdb220426dc015b58379e95bde8e9f0995a"}],"type":"GIT","repo":"https://github.com/ash-project/ash_ai"}],"versions":["v0.8.2","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.1","v0.6.0"]}],"references":["https://github.com/ash-project/ash_ai/security/advisories/GHSA-5747-6mpw-6m9c","https://cna.erlef.org/cves/CVE-2026-82580.html","https://osv.dev/vulnerability/EEF-CVE-2026-82580","https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460","https://github.com/ash-project/ash_ai/commit/c68dfbdb220426dc015b58379e95bde8e9f0995a","https://hex.pm/packages/ash_ai"],"sources":[{"name":"CVE","id":"CVE-2026-82580","modified":"2026-11-19T08:39:28.281Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-82580"},{"name":"OSV","id":"EEF-CVE-2026-82580","modified":"2026-11-25T06:31:04.121576524Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82580"}],"assessments":[{"source":"EEF","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},{"source":"OSV","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}],"cve":{"records":[{"id":"CVE-2026-82580","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-30T15:00:01.232Z","published":"2026-08-31T01:09:00.192Z","modified":"2026-11-19T08:39:28.281Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:39:28.281Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-08-31T16:06:44.151Z"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-5747-6mpw-6m9c","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-82580.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82580","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_ai/commit/c68dfbdb220426dc015b58379e95bde8e9f0995a","tags":["patch"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-5747-6mpw-6m9c","tags":["exploit"],"source":"CISA-ADP"}],"weaknesses":[{"id":"CWE-209","description":"CWE-209 Generation of Error Message Containing Sensitive Information","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.0","versionStartIncluding":"0.6.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-08-31T16:06:20.887459Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ash-project","name":"ash_ai","platforms":[],"versions":[{"version":"0.6.0","status":"affected","lessThan":"1.0.0","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/ash_ai","packageIdentity":{"ecosystem":"Hex","name":"ash_ai"},"cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82580"},{"vendor":"ash-project","name":"ash_ai","platforms":[],"versions":[{"version":"bc2122f78fca6c11d8ec2b9ac53148ec17476460","status":"affected","lessThan":"c68dfbdb220426dc015b58379e95bde8e9f0995a","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ash-project/ash_ai","cpes":["cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82580"}],"remediation":[],"observedAt":"2026-11-25T07:18:09.861Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T01:15:31.312Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-19T10:00:34.441Z","attemptedAt":"2026-11-19T10:00:34.441Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-19T09:55:36.424Z","attemptedAt":"2026-11-19T09:55:36.424Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-19T09:55:37.417Z","attemptedAt":"2026-11-19T09:55:37.417Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-19T09:55:36.216Z","attemptedAt":"2026-11-19T09:55:36.216Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-82580","url":"https://www.first.org/epss/","probability":0.00466,"percentile":0.41003,"date":"2026-11-18","checkedAt":"2026-11-19T09:55:36.216Z"},{"source":"ENISA EUVD","id":"EUVD-2026-68308","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-68308","modified":"Aug 31, 2026, 4:06:44 PM","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","checkedAt":"2026-11-19T09:55:37.417Z"},{"source":"NVD","id":"CVE-2026-82580","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82580","modified":"2026-11-19T09:18:05.000","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-19T10:00:34.441Z"}],"aiSummary":null}