Skip to content

ash_ai

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?

ProductAffected versions (from the sources)Fixed in
ash_aiNiche>= 0.6.0, < 1.0.01.0.0

What to do

Update to a fixed version: 1.0.0.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together0.270
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.4 × prerequisites 0.27 × threat 0.951.026
  4. Rounded to one decimal between 0.1 and 101.0

How the score works

Exploitation and evidence timeline

  1. 31 Aug 2026 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 1.0 (cvss fallback)

Weakness

CWE-835

References

Get alerts for ash_ai

Free email or text alerts when a vulnerability in ash_ai reaches risk 8 or higher. Nothing else.