CVE-2026-82579

AshAi tool loop never terminates when all tool calls are filtered out, enabling denial of service

MEDIUM
6
CVSS Score
Published: August 31, 2026 at 01:07 AM UTC
Updated: September 1, 2026 at 09:31 PM UTC
1 product affected across 1 vendorAshAi

Using ash_ai by ash-project?

Get instant alerts when new vulnerabilities affect ash_ai - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6
Exploit prediction
EPSS 0.5%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.6.0 ≤ v < 1.0.00.6.0bc2122f78fca6c11d8ec2b9ac53148ec17476460
Vendor states this is fixed in 53325fdab90afab628c6a53232ef2a9001580bd9 (fixed)
Affected range stops below 1.0.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6MEDIUMEEF
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-835

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card