{"vuln_id":"CVE-2026-82580","aliases":["GHSA-5747-6mpw-6m9c"],"description":"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.","published_at":"2026-08-31T02:17:02.440000Z","modified_at":"2026-11-19T09:18:05Z","first_seen_at":"2026-11-21T19:15:46.601313Z","severity":"medium","severity_source":"nvd","cvss_score":5.3,"cvss_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","cwe":["CWE-209"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0034,"epss_percentile":0.28079,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-82580"},"matched_alias":null,"items":[{"id":3444,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-82580: Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai discloses internal error text to chat users. In AshAi.ToolLoop…","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.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-82580.html\nhttps://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460\nhttps://github.com/ash-project/ash_ai/commit/c68dfbdb220426dc015b58379e95bde8e9f0995a\nhttps://github.com/ash-project/ash_ai/security/advisories/GHSA-5747-6mpw-6m9c\nhttps://osv.dev/vulnerability/EEF-CVE-2026-82580\nhttps://github.com/ash-project/ash_ai/security/advisories/GHSA-5747-6mpw-6m9c","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82580","published_at":"2026-08-31T02:17:02.440000Z","updated_at":"2026-11-19T09:18:05Z","fetched_at":"2026-11-21T19:15:31.479026Z","severity":"medium","cvss_score":5.3,"epss":0.0034,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-82580","vuln_ids":["CVE-2026-82580","GHSA-5747-6MPW-6M9C"],"tags":["CWE-209"],"cluster_id":3629,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3444","html":"https://vulnwatch.ve1ve2.com/item/3444"}}]}