CVE-2026-57137
published high CVSS 3.1 · 8.8PraisonAI AgentLoop onToolCall approval runs after tool execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MervinPraison | — | PraisonAI>= 1.4.0, < 1.7.2 | Affected | Not stated | GitHub_M |
Description
PraisonAI is a multi-agent teams system. From 1.4.0 until 1.7.2, createAgentLoop() in src/praisonai-ts/src/ai/agent-loop.ts passes executable tools to generateText() before invoking the onToolCall approval callback. Because the wrapped AI SDK executes tool handlers during generation, a callback that returns false records tool_rejected only after the denied tool has already produced side effects and populated toolResults. Applications using onToolCall as a human or policy approval boundary can therefore execute rejected file, command, API, or data-modifying operations. This issue is fixed in version 1.7.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MervinPraison | PraisonAI | >= 1.4.0, < 1.7.2 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-693 CWE-693: Protection Mechanism Failure
- CWE-862 CWE-862: Missing Authorization
- CWE-863 CWE-863: Incorrect Authorization
References
3Provider assertions
2GitHub_M · cna
PraisonAI AgentLoop onToolCall approval runs after tool execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f81268866299c0f009a2260ae890db0c30b4c490691993acb0574633dc51ca4e
- Ingested
- 23 Sep 2026, 09:21:43 UTC
- Source record
- Official CVE record