{"id":"CVE-2026-82579","aliases":["CVE-2026-82579","EEF-CVE-2026-82579","GHSA-rcx7-x2w5-mmc2"],"related":[],"kind":"vulnerability","state":"published","title":"AshAi tool loop never terminates when all tool calls are filtered out, enabling denial of service","summary":"Loop with Unreachable Exit Condition (Infinite Loop) vulnerability in ash-project ash_ai allows an attacker who can influence a model's output to hang the tool loop and drive unbounded, repeated model requests.\n\nAshAi.ToolLoop classifies a model response of :tool_calls, then filters the calls through normalize_tool_calls/2 and unprocessed_tool_calls/2. Both can empty the list: a call missing a valid name, or one reusing a tool_call_id that already has a result in history, is dropped. With an empty list the loop appended nothing and recursed with a byte-identical message list, so the conversation never advanced and the same request was re-sent every iteration. Under the supported max_iterations: :infinity this never terminated; otherwise it exhausted the full budget. Prompt-injected content can make the model re-emit a spent tool_call_id. The fix treats an empty post-filter list as terminal.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Loop with Unreachable Exit Condition (Infinite Loop) vulnerability in ash-project ash_ai allows an attacker who can influence a model's output to hang the tool loop and drive unbounded, repeated model requests.\n\nAshAi.ToolLoop classifies a model response of :tool_calls, then filters the calls through normalize_tool_calls/2 and unprocessed_tool_calls/2. Both can empty the list: a call missing a valid name, or one reusing a tool_call_id that already has a result in history, is dropped. With an empty list the loop appended nothing and recursed with a byte-identical message list, so the conversation never advanced and the same request was re-sent every iteration. Under the supported max_iterations: :infinity this never terminated; otherwise it exhausted the full budget. Prompt-injected content can make the model re-emit a spent tool_call_id. The fix treats an empty post-filter list as terminal.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nLoop with Unreachable Exit Condition (Infinite Loop) vulnerability in ash-project ash_ai allows an attacker who can influence a model's output to hang the tool loop and drive unbounded, repeated model requests.\n\n`AshAi.ToolLoop` classifies a model response of `:tool_calls`, then filters the calls through `normalize_tool_calls/2` and `unprocessed_tool_calls/2`. Both can empty the list: a call missing a valid name, or one reusing a `tool_call_id` that already has a result in history, is dropped. With an empty list the loop appended nothing and recursed with a byte-identical message list, so the conversation never advanced and the same request was re-sent every iteration. Under the supported `max_iterations: :infinity` this never terminated; otherwise it exhausted the full budget. Prompt-injected content can make the model re-emit a spent `tool_call_id`. The fix treats an empty post-filter list as terminal.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0.","format":"markdown","source":"eef"}],"published":"2026-08-31T01:07:49.185Z","modified":"2026-11-25T06:31:04.494Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"cwes":["CWE-835"],"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":"53325fdab90afab628c6a53232ef2a9001580bd9","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":"53325fdab90afab628c6a53232ef2a9001580bd9"}],"repo":"https://github.com/ash-project/ash_ai","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_ai/security/advisories/GHSA-rcx7-x2w5-mmc2","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82579.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82579","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/53325fdab90afab628c6a53232ef2a9001580bd9","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:05:35.220Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82579","url":"https://www.cve.org/CVERecord?id=CVE-2026-82579","licence":"CVE Terms of Use","modified":"2026-11-19T08:39:33.860Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82579","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82579","licence":"CC-BY-4.0","modified":"2026-11-25T06:31:04.494Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82579","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82579","licence":"Public domain","modified":"2026-11-19T09:18:04.823Z"}],"updatedAt":"2026-11-25T22:59:35.788Z","epss":{"score":0.0034,"percentile":0.29512,"date":"2026-12-01T12:00:22.000Z"}}