AshAi tool loop never terminates when all tool calls are filtered out, enabling denial of service
CVE-2026-82579Published 31 Aug 2026, 01:07 UTC
Real-world risk
1.0/ 10Low
Routine
If the vulnerable configuration applies to you: 2.3
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.0
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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. 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. This issue affects ash_ai: from 0.6.0 before 1.0.0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| ash_aiNiche | >= 0.6.0, < 1.0.0 | 1.0.0 |
What to do
Update to a fixed version: 1.0.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.3% chance of exploitation in 30 days (percentile 29), as of 2026-12-06.
The arithmetic
- Prerequisites multiplied together0.270
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.27 × threat 0.951.026
- Rounded to one decimal between 0.1 and 101.0
Exploitation and evidence timeline
- 31 Aug 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.0 (cvss fallback)
Weakness
CWE-835
References
- https://github.com/ash-project/ash_ai/security/advisories/GHSA-rcx7-x2w5-mmc2exploit, related, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-82579.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-82579related
- https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460related
- https://github.com/ash-project/ash_ai/commit/53325fdab90afab628c6a53232ef2a9001580bd9patch
- CVE-2026-82579 on CVE.org