CVE-2026-82579
AshAi tool loop never terminates when all tool calls are filtered out, enabling denial of service
Mitigation
- Upgrade ash_ai to 1.0.0 or later.
- Upgrade ash_ai to 53325fdab90afab628c6a53232ef2a9001580bd9 or later.
Who should check
- Anyone running ash-project ash_ai >= 0.6.0, < 1.0.0
- Anyone running ash-project ash_ai >= bc2122f78fca6c11d8ec2b9ac53148ec17476460, < 53325fdab90afab628c6a53232ef2a9001580bd9
Vulnerability facts
- Affected
- ash-project ash_ai >= 0.6.0, < 1.0.0; ash-project ash_ai >= bc2122f78fca6c11d8ec2b9ac53148ec17476460, < 53325fdab90afab628c6a53232ef2a9001580bd9
- Fixed in
- ash-project ash_ai 1.0.0, ash-project ash_ai 53325fdab90afab628c6a53232ef2a9001580bd9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.0 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.47% chance of exploitation in 30 days (percentile 32, 2026-11-26)
- CWE
- CWE-835
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| ash-project ash_ai | >= 0.6.0, < 1.0.0 | — | cvelist |
| ash-project ash_ai | >= bc2122f78fca6c11d8ec2b9ac53148ec17476460, < 53325fdab90afab628c6a53232ef2a9001580bd9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-82579. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-82579.md Affected: ash-project ash_ai >= 0.6.0, < 1.0.0; ash-project ash_ai >= bc2122f78fca6c11d8ec2b9ac53148ec17476460, < 53325fdab90afab628c6a53232ef2a9001580bd9 Fixed in: ash-project ash_ai 1.0.0, ash-project ash_ai 53325fdab90afab628c6a53232ef2a9001580bd9 Steps: 1. Search this machine and project for ash-project ash_ai: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-82579 being exploited?
There is no confirmed exploitation: CVE-2026-82579 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-82579?
Medium: CVSS 6.0 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-82579?
ash-project ash_ai >= 0.6.0, < 1.0.0; ash-project ash_ai >= bc2122f78fca6c11d8ec2b9ac53148ec17476460, < 53325fdab90afab628c6a53232ef2a9001580bd9.
Is there a fix for CVE-2026-82579?
Yes. Fixed in ash-project ash_ai 1.0.0, ash-project ash_ai 53325fdab90afab628c6a53232ef2a9001580bd9. Upgrade ash_ai to 1.0.0 or later. Upgrade ash_ai to 53325fdab90afab628c6a53232ef2a9001580bd9 or later.
How do I check if I'm affected by CVE-2026-82579?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.