{"cve":"CVE-2026-57137","nvd":{"published":"2026-09-15T11:17:11.030","modified":"2026-09-15T14:45:28.563","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-693","CWE-862","CWE-863"],"references":["https://github.com/MervinPraison/PraisonAI/commit/6b4b59fbe71a74983626c7a0cf7e10c47cd004f9","https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.62","https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-h2w2-v7j6-xqm4","https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-h2w2-v7j6-xqm4"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-57137","score":0.00506,"percentile":0.43236,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-h2w2-v7j6-xqm4","url":"https://osv.dev/vulnerability/GHSA-h2w2-v7j6-xqm4","summary":"npm PraisonAI AgentLoop onToolCall approval runs after tool execution","modified":"2026-07-20T21:56:45.415059Z","packages":[{"ecosystem":"npm","name":"praisonai","purl":"pkg:npm/praisonai","ranges":[">=1.4.0 <1.7.2"],"fixed":["1.7.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}