HighVulnerabilityLLM-specific
CVE-2026-57137: PraisonAI approval callback runs tools before rejection in createAgentLoop
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-57137
- Published
- Record updated
- Affected
- praisonai >= 1.4.0, <= 1.7.1
- Fixed in
- 1.7.2
Summary
From PraisonAI 1.4.0 until 1.7.2, createAgentLoop() in src/praisonai-ts/src/ai/agent-loop.ts passes executable tools to generateText() before calling the onToolCall approval callback. Because the AI SDK runs tool handlers during generation, a callback returning false records tool_rejected only after the denied tool has already had side effects, so applications using onToolCall as an approval boundary can still execute rejected file, command, API, or data-modifying operations.
Mitigation
Fixed in version 1.7.2.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online