# CVE-2026-82579: AshAi tool loop never terminates when all tool calls are filtered out, enabling denial of service

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.0
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.47% (percentile 32, 2026-11-26)
- **CWE:** CWE-835
- **Published:** 2026-08-31T01:07:49.185Z
- **Modified:** 2026-11-19T09:18:04.823Z

## Who should check

- Anyone running ash-project ash\_ai \>= 0.6.0, \< 1.0.0
- Anyone running ash-project ash\_ai \>= bc2122f78fca6c11d8ec2b9ac53148ec17476460, \< 53325fdab90afab628c6a53232ef2a9001580bd9

## 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

- ash-project ash\_ai: \>= 0.6.0, \< 1.0.0 (cvelist)
- ash-project ash\_ai: \>= bc2122f78fca6c11d8ec2b9ac53148ec17476460, \< 53325fdab90afab628c6a53232ef2a9001580bd9 (cvelist)

## Mitigation

- Upgrade ash\_ai to 1.0.0 or later.
- Upgrade ash\_ai to 53325fdab90afab628c6a53232ef2a9001580bd9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/ash-project/ash_ai/security/advisories/GHSA-rcx7-x2w5-mmc2>
- patch: <https://github.com/ash-project/ash_ai/commit/bc2122f78fca6c11d8ec2b9ac53148ec17476460>
- patch: <https://github.com/ash-project/ash_ai/commit/53325fdab90afab628c6a53232ef2a9001580bd9>
- other: <https://cna.erlef.org/cves/CVE-2026-82579.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-82579>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-82579>

HTML: <https://flawdb.com/CVE-2026-82579> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-82579>
